Can't "UNHIDE" Hidden files

medicnick83

Paramedic
Joined
Aug 23, 2006
Messages
21,158
Reaction score
565
Location
CBD, Cape Town
Hi guys,

I'm struggling to find a solution for this problem which should be very simple!

I have a flash drive with all my 'important' files on it.
I got a virus on it the other day - so anyways, i've sorted the problem out.
The issue now is, all the files on the flash drive are 'hidden' which if you do the (in Windows 7) "Show hidden files, folders, and drivers" does not show the files but if you change the "Hide protected operating system files (Recommended)" option fixes the problem.

So clearly, the files are marked as "system files" but now how do I remove those attributes from the folders (the files INSIDE the folders are not hidden)

Thanks guys!
 
lol. Fixed a drive with the exact same problem ~5 days ago.

Open a command prompt window for that location and type in:

attrib /S /D *.* -s -r -h

EDIT: A simple

attrib myfolder -s

will do the trick too for a single folder only & no subfolders.
 
I've tried the attrib command, but moans about "not resetting ... blah blah blah"

What I've done is just moved the files off the PC into a folder, recreated the folders and just moved the contents over one by one.

Very irratating! :(
 
You have to do the -s first. i.e. You cant remove the hidden attrib on something that has +s attrib.

If its not that then its a security permission issue. If not that a physical write protect. If not that then the drive is screwed.
 
You have to do the -s first. i.e. You cant remove the hidden attrib on something that has +s attrib.

If its not that then its a security permission issue. If not that a physical write protect. If not that then the drive is screwed.

Yeah, I know that.
Didn't work. :(
 
... had a friend's flashy with me yesterday, also noticed that same thing ...

@gdiza did you use the elevated command prompt?
 
had this exact problem. was caused by a virus. Are you sure you're virus free? might be worth checking with another scanner.
run msconfig and see if anything nefarious is running and check your hosts file as well. i found my friendly virus operating from there.

Was using kaspersky (or AVG). Swopped over to MSessentials

Good luck
 
Last edited:
I always just wrote a batch scipt like Havoc explained. Works for me all the time :)
 
Find someone with a Linux machine and fix the flash drive there. Won't help if your win pc still has the virus though.
 
Top
Sign up to the MyBroadband newsletter
X