Link to home
Start Free TrialLog in
Avatar of patd1
patd1Flag for United States of America

asked on

need batch command to find file not having a particular string in the filename

I have multiple zip files in a source folder (\\servername_Source\foldername\*.zip.
I want to move files that do not have string "_month_" in the file name.

Example: if the source folder has three files:, and, I want only move file not having "_month_" in the file name. As a result, and should be moved to target folder: \\servername_target\foldername\*.zip

How can I accomplish that?
Avatar of oBdA

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial