View Single Post
04 Apr 2012  

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1

Quote   Quote: Originally Posted by EzioAuditore View Post
1) Do I have to leave the spaces in attrib +h *.dop between attrib and + and h and *?
Yes, there is a indeed a space between them.
attrib +h *.dop
2) Will it work in all subfolders (I have a LOT of folders in which these pesky files are visible)?
You'll have to edit the bat file to change to the directory first i.e. add
cd \path\to\directory
before the attrib line.

Someone correct me if i'm wrong.

Restarting won't do as the 'hidden' attribute has been added to the files. You'll have to either select 'Show hidden files and folders' from Tools>Folder options or edit the bat file w/ the +h replaced w/ -h.

Oops! I just realized that the file extension is .CR2.dop and I'm worried that I'd hide all the .CR2 files....
The extension of this type of file would still be .dop. Windows treats the words after the last dot as extension.
Thanks not only for an answer but a great deal of insight into how these things work.
My System SpecsSystem Spec