flyjedi
asked on
Script to delete thumbs.db files
I want a script that goes through a given network share and deletes all thumbs.db files and .DS_Store folders.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if you receive any error messages like permission denied then include the below given line in your vbs at the top of the code
on error resume next
on error resume next
ASKER
I had to make a couple of changes but yes fantastic
Running the script will list the commands to be executed. Once you are sure it is behaving correctly, remove the ECHO commands from lines 6 and 10.
Open in new window