You are not logged in.
Pages: 1
I am trying to run a command that will search a bunc h of folders and DELETE ALL files EXCEPT a specific file.
I am using this right now.
for %i in (*) do if not %i == .msg del %i
Questions:
1. This does not work on subfolders. How do I modify it to do so?
2. How do I specify more than one type of file to KEEP (right now only the .msg are kept)
PLEASE HELP!!!!! Cheers
Offline
see this previous thread
https://ss64.org/viewtopic.php?id=1152
Offline
Pages: 1