M
Malescot
Hi everybody,
For several reasons, I often change the setting "show / hide hidden files".
I am looking for a way to change this setting in just one click. I searched
th Internet, and found a .vbs file that NEARLY does this job.
I say NEARLY because here is what I have to do for it to work :
1. double click on it
2. right click on my desktop (and desktop only, otherwise it won't work) and
select "actualize" (translation from French).
3. Launch explorer or My computer to be able to browse hidden files and
folders.
If I jump step n°2, it doesn't work. Here are the details of the .vbs file :
"On Error Resume Next
Set WSHShell=Wscript.CreateObject("Wscript.Shell")
X =
WshShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden")
If X = "1" Then
WshShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden",
"2", "REG_DWORD"
Elseif X = "2" Then
WshShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden",
"1", "REG_DWORD"
End If
Set WshShell = Nothing"
Any help will be greatly appreciated, if anybody knows a change I could make
in this .vbs file so that I can skip step n°2. Thanks a lot,
MALESCOT.
For several reasons, I often change the setting "show / hide hidden files".
I am looking for a way to change this setting in just one click. I searched
th Internet, and found a .vbs file that NEARLY does this job.
I say NEARLY because here is what I have to do for it to work :
1. double click on it
2. right click on my desktop (and desktop only, otherwise it won't work) and
select "actualize" (translation from French).
3. Launch explorer or My computer to be able to browse hidden files and
folders.
If I jump step n°2, it doesn't work. Here are the details of the .vbs file :
"On Error Resume Next
Set WSHShell=Wscript.CreateObject("Wscript.Shell")
X =
WshShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden")
If X = "1" Then
WshShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden",
"2", "REG_DWORD"
Elseif X = "2" Then
WshShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden",
"1", "REG_DWORD"
End If
Set WshShell = Nothing"
Any help will be greatly appreciated, if anybody knows a change I could make
in this .vbs file so that I can skip step n°2. Thanks a lot,
MALESCOT.