Explorer -Toogle from command line instead of clicking?

  • Thread starter Thread starter Fred B.
  • Start date Start date
F

Fred B.

Anyone know the syntax to toggle "show hidden files and folders"
& " hide operating system files" from a command line


Thanks
 
Fred

I don't think there is a command for this option?

These are registry settings, so you could use the "reg" command to change
the options. In the command prompt, type:

reg /? to see all of the commands and syntax.

Use the reg /add command.

Here are where your target keys are located.

Show Hidden Folders and Files:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AdvancedValue Name: HiddenData Type: REG_DWORD (DWORD Value)Value Data: (1 = Show Hidden 2 = Do Not Show)Show Hidden Operating System FilesHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AdvancedValue Name: ShowSuperHiddenData Type: REG_DWORD (DWORD Value)Value Data: ( 0 = Hide Files 1 = Show Files)--Ronnie VernonMicrosoft MVPWindows Shell/User"Fred B." <[email protected]> wrote in messageAnyone know the syntax to toggle "show hidden files and folders"> & " hide operating system files" from a command line>>> Thanks
 
I'm not sure there's a "command" either. I searched the KB and web but
couldn't find anything.

What I wanted to be able to do was use the command line to quickly toggle
"view" settings, not permanently change them. I prefer to keep "hidden"
files "hidden" and "protected" directories out of sight, but it seems that
once or twice a day I have to get to them.

Was just looking for a quicker way than "click, click, click" because I
don't use Explorer as my file mgr, and have do its clicks before doing what
I really want to do.

Thanks,


Fred
 
Fred B. said:
I'm not sure there's a "command" either. I searched the KB and web but
couldn't find anything.

What I wanted to be able to do was use the command line to quickly toggle
"view" settings, not permanently change them. I prefer to keep "hidden"
files "hidden" and "protected" directories out of sight, but it seems that
once or twice a day I have to get to them.

Was just looking for a quicker way than "click, click, click" because I
don't use Explorer as my file mgr, and have do its clicks before doing
what I really want to do.


You could try this .vbs script. I do not know if it works, as I have not
tried it myself. I just found it on Google:

http://forums.extremeoverclocking.com/showthread.php?p=2619228

ss.
 
SS

I tried that script and it does work. I ran the script with Windows Explorer
and I did need to refresh windows explorer a couple of times to see the
change.

Good find.
 
Ronnie Vernon MVP said:
SS

I tried that script and it does work. I ran the script with Windows
Explorer and I did need to refresh windows explorer a couple of times to
see the change.

Cool, I'll try it out later.

ss.
 
Easiest way is:

Windows button on keyboard + E...then when window comes up hit the ALT
button, you will get the toolbar. Go to Tools menu-> Folder options-> View
Tab: uneck hide hidden files, etc..


Thanks
Spawnocula
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top