3

I got an external flash drive, plug into my school's lab for use, and came back noticing all my folders have gone missing! The space shown taken is still the same

Then I played around with all Folder Options, unticked "Hide Protected Operating System files" option and voilà! All my folders are there! I suspect some virus from the lab is messing with this, but is there a way I can revert this?

phuclv
  • 26,555
  • 15
  • 113
  • 235
Jack-V
  • 75
  • 1
  • 5

2 Answers2

3

That's because the folder is being assigned with the system attribute

Just open command promt with admin priviledge and run

attrib -s folder /D
phuclv
  • 26,555
  • 15
  • 113
  • 235
  • Ok so i tried running just attrib on the flash disk root (F:\), it doesn't show the list of folders that is assigned with system attribute. I some files with A attribute somehow. Any ideas? – Jack-V Sep 19 '13 at 05:46
  • Ah i think i got it. Gotta remove the system , hidden, and read only attributes of the folder! Thanks for the help anyhow! – Jack-V Sep 19 '13 at 05:58
  • got `Not resetting hidden file` error, I needed to add -h as in @cloud89's anwser. I still prefer this answer as it does not reset the entire drive – carl verbiest Jul 19 '22 at 09:55
3

In command prompt, type this:

attrib  -H -S F:\\*.* /S /D /L

Where F stands for the drive name. Change it base on the drive name you want to unhide operating system files.

P.S.: All caps; it won't work if you use the lower case.

Roney Michael
  • 1,056
  • 1
  • 14
  • 22
cloud89
  • 31
  • 1