Quote: Originally Posted by pxfragonard
Thanks for a very elegant and simple solution. I take it s / d means subdirectory... very nice!
The /s means all files within the directory containing that extension will have the attribute applied. /d, as you guessed, means all directories and subdirectories will be checked for files with that extension. The directories themselves will not be hidden, but the files with that extension contained in the directories will have the hidden attribute applied or removed.