Search found 3 matches

by busy.bee.forest
07 May 2021 06:54
Forum: DOS Batch Forum
Topic: Batch script to delete .txt files in all subfolders except one
Replies: 4
Views: 3657

Re: Batch script to delete .txt files in all subfolders except one

I was successfully able to apply this solution. Thank you for the help.
by busy.bee.forest
06 May 2021 06:27
Forum: DOS Batch Forum
Topic: Batch script to delete .txt files in all subfolders except one
Replies: 4
Views: 3657

Re: Batch script to delete .xml files in all subfolders except one

My goal is more complicated. Subfolder1 will possess its own set of subfolders which will vary with time. I would like to write batch script that will not delete XML files in all these subfolders.
by busy.bee.forest
05 May 2021 13:34
Forum: DOS Batch Forum
Topic: Batch script to delete .txt files in all subfolders except one
Replies: 4
Views: 3657

Batch script to delete .txt files in all subfolders except one

I have a question regarding batch scripts. Suppose I have multiple levels of subfolders in my My Documents folder. C:\Users\ABC\Documents One of the Subfolders is C:\Users\ABC\Documents\Folder1\Subfolder1. I would like to write batch script that deletes all XML files in My Documents except the ones ...