Subscribe to How-To Geek Mag-subscribe sa Paano-Upang Geek

Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Keyboard Ninja: Toggle File Extension Display With a Shortcut Key in Windows Keyboard Ninja: Magpalipat-lipat sa File extension Display Sa pamamagitan ng isang Shortcut Key sa Windows

Have you ever wanted to be able to easily toggle the visibility of file extensions? Nakarating na ba pinaghahanap na madaling magpalipat-lipat ng pagpapakita ng extension file? We've shown you Kami na ipinapakita mo how to toggle hidden files kung paano magpalipat-lipat sa mga nakatagong mga file before, and now we've come up with a similar solution for file extensions. bago, at ngayon kami ay magkaroon ng isang katulad na solusyon para sa extension ng file.

If hotkeys are your game, be sure and check out Kung hotkeys ay iyong mga laro, siguraduhin at check-out our 21 keyboard shortcut articles 21 ang aming mga keyboard shortcut articles . .

Toggle File Extensions Magpalipat-lipat ng file extensions

Once you've downloaded and run the application, all you need to do is hit the Win+Y shortcut key while you have any folder open: Matapos ninyong i-download at patakbuhin ang application, ang lahat ng kailangan mong gawin ay pindutin ang Umakit + Y shortcut key habang ikaw ay may anumang folder bukas:

image

And you'll immediately see the file extensions, or won't see them – the point is that it will toggle between the two settings. At makikita mo agad na tingnan ang extension file, o hindi ay makikita ang mga ito - sa point na ito ay magpalipat-lipat sa pagitan ng dalawang mga setting.

image

Using the same hotkey sequence you can bring the file extensions back. Gamit ang parehong pagkakasunod-sunod hotkey maaari mong dalhin ang extension file na likod.

Installing the Hotkey Pag-install ng Hotkey

To make this run at startup, you have to save and extract the downloadable file, and then create a shortcut in your startup folder, which can be accessed by putting the following into the location bar: Upang gumawa ng mga ito tumakbo sa startup, kailangan mong i-save at kunin ang mga maida-download na file, at pagkatapos ay lumikha ng isang shortcut sa iyong startup folder, na maaaring ma-access sa pamamagitan ng paglagay sa mga sumusunod sa bar ng lokasyon:

shell:startup shell: startup

You'll notice the ToggleFileExt item that I added into the startup folder. Mapapansin mo na ang ToggleFileExt item na idinagdag ko sa folder ng startup.

image

There's no UI for this application, and it'll run completely in the background with fairly low memory usage. Walang UI para sa aplikasyon na ito, at ito ay lubos na tumakbo sa background sa medyo mababa ang memory paggamit.

image

Using the AutoHotkey Version Gamit ang mga AutoHotkey Version

If you are already an AutoHotkey user and would like to just add this to your current script, the full source code is here: Kung ikaw ay isang AutoHotkey user at nais mo lamang idagdag ito sa iyong kasalukuyang script, ang buong source code ay nandito:

; WINDOWS KEY + Y TOGGLES FILE EXTENSIONS ; Windows Key + Y TOGGLES FILE extension

#y:: # y::
RegRead, HiddenFiles_Status, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, HideFileExt RegRead, HiddenFiles_Status, HKEY_CURRENT_USER, Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced, HideFileExt
If HiddenFiles_Status = 1 Kung HiddenFiles_Status = 1
RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, HideFileExt, 0 RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced, HideFileExt, 0
Else Kung hindi
RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, HideFileExt, 1 RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced, HideFileExt, 1
WinGetClass, eh_Class,A WinGetClass, eh_Class, A
If (eh_Class = “#32770″ OR A_OSVersion = “WIN_VISTA”) Kung (eh_Class = "# 32,770" O A_OSVersion = "WIN_VISTA")
send, {F5} magpadala, (F5)
Else PostMessage, 0×111, 28931,,, A Iba Pa PostMessage, 0 × 111, 28,931,,, A
Return Bumalik

Note: If the script doesn't work for you, you can Paalala: Kung ang script ay hindi gumagana para sa iyo, maaari mong grab a text version here mang-agaw ng isang text version dito . .

This isn't the type of utility that I would end up using all the time, but it works great as part of my regular AutoHotkey toolkit. Na ito ay hindi ang uri ng mga utility na Gusto ko end up gamit sa lahat ng oras, ngunit ito ay gumagana malaking bilang bahagi ng aking regular na AutoHotkey toolkit.

Download ToggleFileExt Hotkey Application I-download ang ToggleFileExt Hotkey Application

This article was originally written on 03/18/09 Tagged with: Ang artikulong ito ay orihinal na isinulat sa 03/18/09 Tagged with: Keyboard Ninja Keyboard Ninja , , Shortcuts and Hotkeys Shortcut at Hotkeys , , Vista Tips & Tweaks Vista Tips at Tweaks , , Windows 7 Windows 7 , , Windows Vista Windows Vista

Daily Email Updates Araw-araw na Updates Email

You can get our how-to articles in your inbox each day for free. Maaari kang makakuha ng aming kung-paano na mga artikulo sa iyong inbox sa bawat araw para sa libre. Just enter your name and email below: Ilagay lamang ang inyong pangalan at email sa ibaba:


Name: Pangalan:
Email: Email:

Comments (6) Comments (6)

  1. ville Ville

    AHK script won´t work, whines about unicode or something. AHK script ay hindi gagana, whines tungkol sa unicode o ng isang bagay. Can you put it to textsnip (that worked for the previous script)? Maaari mong ilagay ito sa textsnip (na nagtrabaho para sa nakaraang script)?

  2. ville Ville

    I put it to textsnap to view it as a plain text, but the script still gives this error: Error at line 55. Ko bang ilagay ito sa textsnap upang tingnan ito bilang isang payak na teksto, ngunit ang mga script pa rin ay nagbibigay ng error na ito: Error sa linya 55. Line Text: (eh_Class = “#32770″ OR A_OSVERSION= “WIN_VISTA”) Error: Missing “)” Linya ng Text: (eh_Class = "# 32,770" O A_OSVERSION = "WIN_VISTA") Error: Nawawalang ")"

    What to do? Ano ang gagawin?

  3. The Geek Ang Geek

    @ville: @ Ville:

    I uploaded a text version, linked in the article now. I-upload ng isang text na bersyon, naka-link sa article na ngayon.

  4. oddacorn oddacorn

    The quote after the #32770 is a unicode closing quote. Ang quote matapos ang # 32,770 ay isang unicode quote pagsasara. I was using PSPad to edit it and couldn't figure out why it continued to highlight “OR A_OSVERSION=” as quoted text until I got the error. Ako ay gumagamit ng PSPad upang i-edit ito at hindi malaman kung bakit ito patuloy na i-highlight ang "O A_OSVERSION =" bilang ang tekstong may panipi hanggang sa nakuha ko ang error. That's when I figured it out. That's kapag ako ay may korte ito. If you paste the text into your editor and then delete and retype that quote, you'll have a script that doesn't blow up, though it still won't actually work. Kung i-paste ang teksto sa inyong editor at pagkatapos ay tanggalin at retype na quote, magkakaroon ka ng isang script na hindi pumutok, kahit pa ito ay hindi aktwal na gawain.

    The second more insidious problem is that the “x” in “PostMessage, 0×111″ is actually a multiplication symbol. Ang ikalawang mas tuso problema ay ang "x" sa "PostMessage, 0 × 111" ay talagang isang multiplikasyon simbolo. It doesn't generate an AutoHotkey error, but it also doesn't refresh Windows Explorer properly. Hindi makabuo ng isang AutoHotkey error, ngunit ito ay hindi rin mag-refresh sa Windows Explorer ng maayos. Change that to an honest-to-goodness lowercase letter “x”, and you'll actually be able to run the code and get what you want. Palitan na sa isang tapat-sa-diyos lang ang maliit na titik "x", at kayo ay talagang mapapatakbo ang code at kumuha ng kung ano ang gusto mo. By the way, I find [Win] + [.] to be an intuitive shortcut for this piece of code. Sa pamamagitan ng ang paraan, hanapin ko [Win] + [.] Upang maging isang magaling na shortcut para sa mga ito na piraso ng code.

    Geek, I'd recommend updating the HTML to fix these little glitches and then folks can cut and paste that code. Geek, gusto kong pinapayo pag-update ng HTML upang ayusin ang mga kaunting glitches at pagkatapos ay maaari folks-cut at i-paste ang code. Thanks for another great tweak! Salamat para sa isa pang malaking sabunot!

    Todd Corson Todd Corson

  5. The Geek Ang Geek

    @oddacorn: @ oddacorn:

    Sorry about that, WordPress does awful things with code. Paumanhin tungkol na, WordPress ay kakila-kilabot ng mga bagay na may code. Very irritating. Very nanggagalit.

  6. Andy Andy

    It would be useful if it was a Registry addition rather than an auto-startupTSR. Gusto Ito ay kapaki-pakinabang na kung ito ay isang Registry karagdagan sa halip ng isang awtomatikong pagta-startupTSR.


Our Friends Ang aming mga Friends
Getting Started Pagsisimula


About How-To Geek Tungkol sa Paano-Upang Geek
What Is That Process? Ano ba ang Proseso Iyon?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.