Author
Message
Forum: Feature Requests Topic: delete all but specific file type
jaykappy
Posted: Tue Aug 23, 2016 12:47 pm
Replies: 3 Views: 17257
1. When I do the search is shows the folders as well....I dont want to delete the folders only files. 2. Can I string this together somehow and search for .pdf and .msg?
Forum: Feature Requests Topic: delete all but specific file type
jaykappy
Posted: Tue Aug 23, 2016 7:30 am
Replies: 3 Views: 17257
[highlight=#dedfdf]I am trying to run a command that will search a bunc h of folders and DELETE ALL files EXCEPT a specific file.[/highlight] [highlight=#dedfdf]I am using this right now.[/highlight] [highlight=#dedfdf]for %i in (*) do if not %i == .msg del %i[/highlight] [highlight=#dedfdf...
Sort by: Author Post time Forum Topic title Post subject Ascending Descending