|
Answer» Hi All,
Appreciate if anyone could help =)
I'm trying to create a BATCH file that:
- delete all files in c: drive with the extension .txt, .DOC, .xls, .ppt - deletion to EXCLUDE specific directories (c:\windows and program files and it's subfolders
The purpose of this batch files is to delete all users' doc and files in c: while preventing accidental deletion of system/application text files like virus definition.
Thank you!SORRY, we don't help with homework.Hi commando, I think you got me wrong.
I have no problem with the file extension part.
I'm only having problem with the if/for statement to exclude the directories. Appreciate if you can provide GUIDANCE on this part.Hi all,
I managed to find a solution to this. Thank you.
|