This should be an easy one...Kavar you nailed my earlier batch script question hope you can help with this one.
I have a webmail directory that has to be cleaned up periodically.
I need to have a script that will automatically delete ANY folder beginning with the phrase--> Usr
I need to wildcard the number portion because the webmail package greats folders called Usr with random numbers on the end (i.e. Usr138, Usr4538 etc).
I need a simple batch script that will...
1. Delete folders starting with the name --> Usr in the C:\Mail\Data\Webmail directory
2. The script should close kill/terminate itself when complete.