Search found 2 matches

by chrisb421
28 Aug 2018 14:05
Forum: DOS Batch Forum
Topic: copy newer files to specific folder
Replies: 2
Views: 2504

Re: copy newer files to specific folder

i guess it does. i changed the copy to xcopy and added the /D and /Y and it works now
by chrisb421
28 Aug 2018 13:15
Forum: DOS Batch Forum
Topic: copy newer files to specific folder
Replies: 2
Views: 2504

copy newer files to specific folder

im using this command: for /R C:\testfrom %%F in (*.zip) do @copy "%%F" C:\testto and i want to search all the subdirectories and copy all the zip files and put them in one folder (no subfolders) and overwrite any files that are older. the above command works in my batch file but will overwrite newe...