Windows 7 Forums


Windows 7: looking for cmd script to unhide files

02 Apr 2012  
Thornton

windows 7 home premium
567 posts
 
 
looking for cmd script to unhide files

at one point i had a virus on a thumbdrive, it would hide all the files in it and say it was un usable data, if you said view hidden files, they would all appear. i had figured out a dll to run in cmd that would unhide the files that where not meant to be hidden such as windows .trashes etc. i had not used it in so long i forgot what it was. i donot want to always rely on a program written by some guy with no name to unhide the things for me with an executable from mediafire that could just as the virus, be insecure.
if anyone knows of a script like what i might have used, id appreciate you sharing it with me.
understandibly you may be curious why. i recently got another virus "smart hdd," it hid all my files and i wanted them back, i had to use 3d party executables to unhide my files, i dont want to be in this position again.

My System SpecsSystem Spec

03 Apr 2012  
Dave Atkin

Windows 7 Ultimate x64
518 posts
United Kingdom
 
 

Hello,

The easiest thing to do in this situation would be to re-format the drive and restore you files from a backup.

To un-hide to folders see this:
How To : Restore Files Hidden by Virus on Windows 7 | SocialBlogr

This isnt advisable though as it could have caused corruption for some files and programs.


Dave
My System SpecsSystem Spec
03 Apr 2012  
Thornton

windows 7 home premium
567 posts
 
 

Quote   Quote: Originally Posted by Dave Atkin View Post
Hello,

The easiest thing to do in this situation would be to re-format the drive and restore you files from a backup.

To un-hide to folders see this:
How To : Restore Files Hidden by Virus on Windows 7 | SocialBlogr

This isnt advisable though as it could have caused corruption for some files and programs.


Dave
ok, so i actually figured out what it was a day ago, forgot to post.
elevated cmd: atrib /d /s -s -h [directory]

it worked just fine at the time. the virus was simply to be malicious, anti virus cleaned the virus, i deleted my trash folders, ran the command above, then ejected the drive, then plugged it back in to install manditory files nessecary to use
My System SpecsSystem Spec
.


03 Apr 2012  
Corrine

Windows 7 & Windows Vista Ultimate
2,476 posts
Upstate NY
 
 

Hi, Thornton. It sounds like you had one of the rogues that hides files in the %Temp%\Smtmp folder. The Unhide.exe tool would likely have solved the problem after removing the rogue: Unhide.exe - A introduction as to what this program does
My System SpecsSystem Spec
03 Apr 2012  
Thornton

windows 7 home premium
567 posts
 
 

Quote   Quote: Originally Posted by Corrine View Post
Hi, Thornton. It sounds like you had one of the rogues that hides files in the %Temp%\Smtmp folder. The Unhide.exe tool would likely have solved the problem after removing the rogue: Unhide.exe - A introduction as to what this program does
thank you, however, part of this thread, was to have learned what the command was so i dont have to trust other applications, that i dont fully understand, but thank you for the suggestion

i used to know it, and someone on here figured out what i used...
elevated cmd: atrib /d /s -s -h [directory]
My System SpecsSystem Spec
03 Apr 2012  
Jacee

Windows 7 Ultimate 32bit SP1
7,143 posts
 
 

Follow the guide to remove this 'Rogue' virus...
Remove Smart HDD (Uninstall Guide)
My System SpecsSystem Spec
Reply

 looking for cmd script to unhide files problems?



Thread Tools



Similar help and support threads for: looking for cmd script to unhide files
Thread Forum
Which service does execute .vbs script files? General Discussion
Animate All GIF files in Windows Explorer Script Help Customization
Solved How do I hide/unhide specific files of my choosing? General Discussion
Solved Shortcut to hide and unhide folders and files Customization


All times are GMT -5. The time now is 08:40 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd