SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows 7

(Solved) - Show/hide hidden files, problem!

(8 posts)
  • Started 2 years ago by ajzaklija
  • Latest reply from Lighthouse
  • Topic Viewed 645 times

ajzaklija
ajzaklija
Posts: 15

I've downloaded and isnstall this files as you said, but after 4 months of use, i've started to getting this error (this command is still working with my files, but this error is poping and its really anoying):
"Windows script host: Script: C:\Windows...; Line: 14; Char: 1; Error: The system cannot find the file specified; Code: 80070002; Source: (null)"
Any idea how to repair this error and prevent it to pop up anythime when i use show/hide button?
P.S. Sorry for my bad English!
Thanx ;)
Here's the image of that error:
http://postimage.org/image/1sy970z7o/

Posted 2 years ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

ajzaklija hi. The .vbs file may have got corrupted, or deleted. You need to copy it back to where it should be.

Posted 2 years ago
Top
 
ajzaklija
ajzaklija
Posts: 15

I've done that again, but i'm still getting same error every time...

Posted 2 years ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

Does the .vbs file look exactly like this ?
__________________________________________________________________________________________
Hidden = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden"
SSHidden = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden"
Set Command1 = WScript.CreateObject("WScript.Shell")
Check = Command1.RegRead(Hidden)
If Check = 2 Then
Command1.RegWrite Hidden, 1, "REG_DWORD"
Command1.RegWrite SSHidden, 1, "REG_DWORD"
Else
Command1.RegWrite Hidden, 2, "REG_DWORD"
Command1.RegWrite SSHidden, 0, "REG_DWORD"
End If
Command1.SendKeys "{F5}"
________________________________________________________________________________________

Posted 2 years ago
Top
 
ajzaklija
ajzaklija
Posts: 15

This is how it looks...
http://postimage.org/image/1pbsh3tgk/

Posted 2 years ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

Yours is wrong. Copy what is between the lines (in my post above), paste into Notepad,
save as,
Toggle_Show_Hidden_Files_On_Off.vbs
And overwrite the one you have in the Windows folder with it.

Edit. Not wrong as such, but when WMP gets involved, forget it.

Accepted Answer · Posted 2 years ago
Top
 
ajzaklija
ajzaklija
Posts: 15

Problem solved! Thank you so much!
All the best... ;)

Posted 2 years ago
Top
 
Lighthouse
Lighthouse
Posts: 13598

My pleasure :)

Posted 2 years ago
Top
 



Topic Closed

This topic has been closed to new replies.

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!