.bat file to delete folder from All Users Profile
Posted on 2007-11-21
I know this has probably been asked before, and I'm not sure if I'm asking in the right zone, but how in the world do you delete a folder from the All Users Profile in a batch file in XP Pro? I have tried all sorts of ways but to no avail.
For example, to delete a folder named "DeleteTest" from the %ALLUSERSPROFILE%\Documents folder, how could I code that? I did find a little code on here that went something like this:
However, I played around with it but couldn't get it to work.
Thanks in advance...RunForrestRun