If I hide a file using command attrib +s +h file.txt
. Then set the option 'view hidden files'
in Windows 7, but it is not possible to see file.txt
. Why can't I see the files hidden by the batch script?
2 Answers
Because of the +s
parameter you would also need to uncheck the Hide protected operating system files (Recommended)
checkbox in "Folder Options" - "View" to see the file you've hidden.