Computing.Net > Forums > Office Software > need help to copy only the delta files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

need help to copy only the delta files

Reply to Message Icon

Name: master_mzee
Date: October 23, 2009 at 02:54:19 Pacific
OS: Windows XP
Subcategory: General
Comment:

Hi,

I need to copy files from Folder A to that are not present in folder B, that start with the format YYYYMMDD_HH(this is based on the system date)

Also, I need to create the list of the files that had been copied from folder A to Folder B.

I was able to acheive the format for using the script

for /F "tokens=1-4 delims=/- " %%A in ('date/T') do set DATE=%%D%%C%%B
for /F "tokens=1-4 delims=:., " %%a in ('time/T') do set TIME=%%a
SET FILE_SUFFIX=%DATE%_%TIME%

I am in a fix on how to use the above variable to copy the files and also create the list of the files copied to a text file.



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: October 23, 2009 at 06:28:36 Pacific
Reply:

This forum is for Office applications such as Word, Excel Outlook, etc.

You might get more/better responses if you post your uestion in a forum related to programming or yourOS.

Look at the dropdowns under Speciality Forums & General Forums to find a more appropriate forum.

Good luck!


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: need help to copy only the delta files

Office 2007 CAB Files www.computing.net/answers/office/office-2007-cab-files/7195.html

copy and keep updating www.computing.net/answers/office/copy-and-keep-updating/9356.html

Need help writing Excel Macro www.computing.net/answers/office/need-help-writing-excel-macro/6792.html