|
Answer» Hi there, I have a PROBABLY easy to make batch file but I dont know syntex of batch files.. and google has not really helped.
My situation is that I have a folder called "Tornado_Backup" and I want to create a batch file that removes all the directories and files inside this folder so that its empty. I tried ECHO Y | DEL *.* but this also DELETES the batch file, and doesnt remove any directories inside of this folder.
What is the best way to go about this? TRY using
Code: [Select]rd /s /q Tornado_Backup md Tornado_Backup Try having the batch file right NEXT to the directory, instead of in it.that works i GUESS. Thanks!
|