Win XP - Possible to set keyboard shortcut to show/hide extensions for known filetypes?

Status
Not open for further replies.

homestarmy

Diamond Member
Apr 16, 2004
3,528
2
0
artwilbur.com
Title pretty much says it all. I have to do this a lot to change the extension for files from .img to .iso, and it would be nice to have a keyboard shortcut to show and then not.
 

spyordie007

Diamond Member
May 28, 2001
6,229
0
0
Is there a built in way to do it? No. Would it be possible with a custom application? Yes.


Basically to do it you would have to write a custom app that toggles the registry key that stores that setting, after toggling I *think* all you would have to do is refresh that explorer window (though cant say for certain as I've never tried). You would than set that application you created up with a shortcut on your desktop and give that shortcut a "shortcut key"

Have fun,
Erik
 

JonnyBlaze

Diamond Member
May 24, 2001
3,114
1
0
theres a pretty easy way to do it.

create 2 batch files & 2 registry files. one set turns extensions on the other turns them off. then you can set hotkeys to each batch file or just double click the .reg files and you can skip the batch files.

contents of the files are bold

create a file called hideext.reg (use notepad but be sure to save without the .txt extension)

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"HideFileExt"=dword:00000001




create a file called showext.reg

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"HideFileExt"=dword:00000000




if you want to use the batch files create showext.bat with this in it

regedit /s showext.reg



then create hideext.bat

regedit /s hideext.reg



just make sure they are all in the same folders and you shouldnt have any problems.


i have these all created if you would just want me to email them to you.














 

homestarmy

Diamond Member
Apr 16, 2004
3,528
2
0
artwilbur.com
Thanks very much for the info. Would something like this be possible to change resolutions also? I am having an issue on another PC where whenever it boots, it goes to the wrong resolution. I am thinking that something of this sort in the startup folder would make sure that doesn't happen. I'm rebuilding that system anyhow, so I will know this week if that is even needed or not...
 

AStar617

Diamond Member
Sep 29, 2002
4,983
0
0
Originally posted by: JonnyBlaze
create a file called hideext.reg (use notepad but be sure to save without the .txt extension)
Quite the ironic instruction, given the original problem... :laugh:

 

Fardringle

Diamond Member
Oct 23, 2000
9,200
765
126
Realms of the Dead, I command you to release your hold upon this thread and bring it back to life! ;)
 
Status
Not open for further replies.