[AccessD] Add Date/Time Stamp to xcopy target

Stuart McLachlan stuart at lexacorp.com.pg
Thu Apr 14 22:40:24 CDT 2011


Not file renaming :-(

-- 
Stuart

On 14 Apr 2011 at 15:20, Drew Wutka wrote:

> Not sure about xcopy, but robocopy has that kind of ability.  Robocopy
> used to be only available the extra resources CD you had to buy
> separately, but it's included in Windows 7 now.
> 
> Drew
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky
> Smolin Sent: Thursday, April 14, 2011 3:05 PM To: 'Access Developers
> discussion and problem solving' Subject: [AccessD] Add Date/Time Stamp
> to xcopy target
> 
> Dear List:
> 
> Client wants to do regular backup to his EHD using Windows Scheduler.
> He's almost there but has a question:
> 
> The following in a batch file seems to work for backing up
> DocketWorks: 
> 
> 
> 
> xcopy "W:\DWData.mdb" "C:\ProgramData\DocketWorks"
> 
> 
> 
> Do you know if there is some way to append a date time stamp to it so
> it does not always overwrite the previous backup? 
> 
> Anyone know?
> 
> 
> 
> TIA
> 
> 
> 
> Rocky
> 
> 
> 
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> The information contained in this transmission is intended only for
> the person or entity to which it is addressed and may contain II-VI
> Proprietary and/or II-VI Business Sensitive material. If you are not
> the intended recipient, please contact the sender immediately and
> destroy the material in its entirety, whether electronic or hard copy.
> You are notified that any review, retransmission, copying, disclosure,
> dissemination, or other use of, or taking of any action in reliance
> upon this information by persons or entities other than the intended
> recipient is prohibited.
> 
> 
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 






More information about the AccessD mailing list