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: Toggle File Extension Prikaz Z drobčjiv kruh zakleniti v okno

Have you ever wanted to be able to easily toggle the visibility of file extensions? Ste si kdaj želeli, da bi lahko enostavno preklopite prepoznavnost pila razsežnost? We've shown you Smo vam prikazano how to toggle hidden files kako toggle skrite datoteke before, and now we've come up with a similar solution for file extensions. prej, in zdaj smo prišli gor s podobno rešitev za končnice datotek.

If hotkeys are your game, be sure and check out Če so vaše hotkeys igro, se prepričajte, in odjaviti our 21 keyboard shortcut articles 21 naših izdelkov bližnjico na tipkovnici . .

Toggle File Extensions Toggle 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: Ko ste prenesli in zagnali aplikacijo, vse, kar morate storiti, je udaril Win + D tipka za bližnjico, medtem ko imate odprto mapo:

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. In boste takoj videli pripone datotek, ali ne bo videti - point je, da bo preklapljate med obema nastavitve.

image

Using the same hotkey sequence you can bring the file extensions back. Z isto zaporedje hotkey vam lahko prinese končnice datotek nazaj.

Installing the Hotkey Namestitev 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: Da bi se ta teči ob zagonu, boste morali shraniti in citat lahko prenesete datoteke, in nato ustvarite bližnjico v vašem začetek zgibalnik, ki je dostopna z uvedbo naslednjih v mesto bar:

shell:startup shell: začetek

You'll notice the ToggleFileExt item that I added into the startup folder. Opazili boste, ToggleFileExt element, ki sem dodal v zagonsko mapo.

image

There's no UI for this application, and it'll run completely in the background with fairly low memory usage. Ni vmesnik za to vlogo, in ga bomo v celoti vodijo v ozadju s precej nizko spomin navada.

image

Using the AutoHotkey Version Uporaba 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: Če ste že uporabnik AutoHotKey in bi rad samo dodati, da je to vaš trenutni scenarij, celotno izvorno kodo, je tukaj:

; WINDOWS KEY + Y TOGGLES FILE EXTENSIONS ; WINDOWS KEY + Y preklaplja končnice datotek

#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 Če 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 Še
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,
If (eh_Class = “#32770″ OR A_OSVersion = “WIN_VISTA”) Če je (eh_Class = "# 32770" ali A_OSVersion = "WIN_VISTA")
send, {F5} poslati,) (F5
Else PostMessage, 0×111, 28931,,, A Else PostMessage, 0 × 111, 28931,,,
Return Return

Note: If the script doesn't work for you, you can Opomba: Če se skripta ne deluje za vas, vam lahko grab a text version here zgrabi text različico tukaj . .

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. To ni vrsta korist, da bom na koncu z vsemi čas, vendar to tovarna velik kot del svojega rednega orodje AutoHotKey.

Download ToggleFileExt Hotkey Application Download ToggleFileExt Hotkey Application

This article was originally written on 03/18/09 Tagged with: Ta članek je bil prvotno napisan na 03/18/09 Tagged with: Keyboard Ninja Keyboard Ninja , , Shortcuts and Hotkeys Bližnjice in Hotkeys , , Vista Tips & Tweaks Vista Nasveti in Tweaks , , Windows 7 Windows 7 , , Windows Vista Windows Vista

Daily Email Updates Dnevni Email Updates

You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:


Name: Ime:
Email: E-pošta:

Comments (6) Komentarji (6)

  1. ville ville

    AHK script won´t work, whines about unicode or something. AHK skripta ne bo delovalo, whines o unicode ali kaj podobnega. Can you put it to textsnip (that worked for the previous script)? Ali ste jo dali, da textsnip (ki je delal za prejšnje scenarij)?

  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. Sem dal to v textsnap, da bi jo kot golo besedilo, vendar scenarij še vedno daje ta napaka: Napaka v vrstici 55. Line Text: (eh_Class = “#32770″ OR A_OSVERSION= “WIN_VISTA”) Error: Missing “)” Line Tekst: (eh_Class = "# 32770" ali A_OSVERSION = "WIN_VISTA") Error: Missing ")"

    What to do? Kaj storiti?

  3. The Geek Geek

    @ville: @ ville:

    I uploaded a text version, linked in the article now. Naložil sem tekstovna različica, ki je povezan v članku zdaj.

  4. oddacorn oddacorn

    The quote after the #32770 is a unicode closing quote. Quote po # 32770 je uncialen quote zapiranje. 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. Sem bil using PSPad da jo uredite in ni mogla ugotoviti, zakaj je še poudariti, da "OR A_OSVERSION =", kot je navedeno besedilo, dokler sem dobil zmota. That's when I figured it out. Takrat sem pogruntal. 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. Če prilepite besedilo v svojega urednika in izbrišite in znova vnesite, da citiram, boste imeli scenarij, ki ne raznese, čeprav še vedno ne bo delovalo v praksi.

    The second more insidious problem is that the “x” in “PostMessage, 0×111″ is actually a multiplication symbol. Druga težava je bolj zahrbtno, da "x" in "PostMessage, 0 × 111" je dejansko množenje simbol. It doesn't generate an AutoHotkey error, but it also doesn't refresh Windows Explorer properly. To ne ustvarja AutoHotKey napake, vendar tudi ne zamenja Windows Explorer pravilno. 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. Change, da pošten do dobrota male črke "x", in boste dejansko sposoben zagnati kodo in dobiš, kar hočeš. By the way, I find [Win] + [.] to be an intuitive shortcut for this piece of code. Mimogrede, se mi zdi [Win] + [.], Ki se intuitivno bližnjica za ta košček kode.

    Geek, I'd recommend updating the HTML to fix these little glitches and then folks can cut and paste that code. Geek, vam priporočam posodobitev HTML za določitev teh malo glitches in potem ljudje lahko izrežete in prilepite to kodo. Thanks for another great tweak! Hvala zakaj še eden velik poteg!

    Todd Corson Todd Corson

  5. The Geek Geek

    @oddacorn: @ oddacorn:

    Sorry about that, WordPress does awful things with code. Žal mi je, da WordPress ne grozno stvari z oznako. Very irritating. Zelo razdražljiv.

  6. Andy Andy

    It would be useful if it was a Registry addition rather than an auto-startupTSR. Koristno bi bilo, če bi bilo poleg tega registra in ne auto-startupTSR.


Our Friends Naši prijatelji
Getting Started Getting Started


About How-To Geek O Kako naj Geek
What Is That Process? Kaj je to proces?
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.