Computing.Net > Forums > Disk Operating System > Using batch file to copy new files

Using batch file to copy new files

Reply to Message Icon

Original Message
Name: iam7805
Date: July 27, 2008 at 12:13:11 Pacific
Subject: Using batch file to copy new files
OS: Windows XP
CPU/Ram: Santa Rosa platform, 4GB
Model/Manufacturer: Lenovo ThinkPad x61
Comment:

What commands would I use in a batch file to copy files but overwrite only if the source file is newer than the destination?


Report Offensive Message For Removal


Response Number 1
Name: Mechanix2Go
Date: July 27, 2008 at 13:58:26 Pacific
Reply: (edit)

xcopy /d src dest\


=====================================
If at first you don't succeed, you're about average.

M2


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Using batch file to copy new files

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge