I have a list of computername\folderpaths (\\computername\c$\Documents and Settings\Username\My Documents\My Music\XXX\) in an excel document and I would like to have the script to reference the excel doc and delete the list of folders.
I have been working with:
Sometimes it works and sometimes I get permissions errors. Any help would be greatly appreciated.
I have been working with:
Code:
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.Delete("Path")
Sometimes it works and sometimes I get permissions errors. Any help would be greatly appreciated.