I have a simple batch file application that transfers our CAD files from our server to an individual’s laptop PC. This is working fine.
md c:\NetworkDsgn\CoaxMaps\DWF >Nul 2>&1
xcopy "\\agoc-files-5\networkDsgn$\CoaxMaps\DWF\*.*" "c:\NetworkDsgn\CoaxMaps\DWF" /D/Y/Q
I have a structured format for our file names and I need a batch routine that will help me resolve an issue. I need to search a DIR and all the subfolders for any files that have a tick mark (‘) included in them.
The same folders that have these files will have other files named identically with the exception of the tick mark.
What I hope to accomplish is to delete the identical files that do not include the tick mark. Is this possible to do within a batch application?
FYI - This is going to be an ongoing issue that I will need to deal with for a few months. If I can pull off a batch file solution it will resolve many issues.
Any help is greatly appreciated.