Rocky Smolin
rockysmolin at bchacc.com
Fri Apr 15 15:30:27 CDT 2011
John: I gave the task to Noah - he knows batch files. Told him $25. He's learned a bit more about batch files a lot more about testing, communicating with the user, and reworking based on finding out 'what they really want'. Between that, the $15 he got for recycling bottles, and his allowance, he's having a really good day. :) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, April 15, 2011 1:34 AM To: accessd at databaseadvisors.com; accessd at shaw.ca Subject: Re: [AccessD] Add Date/Time Stamp to xcopy target Hi Jim Ping for wait? That's clever. I haven't seen that before, but why not. /gustav >>> accessd at shaw.ca 14-04-11 23:44 >>> I have a chuck of code that actually creates a new directory, using the current date and then copies the information into into and the system runs this batach file every and has been running for years...It is only limited by the size of the backup drive. :: The complete data backup @echo off set dt=none for /F "tokens=2-4 delims=/ " %%i in ('date /t') do set dt=%%k%%i%%j md c:\backups\%dt% cd c:\backups\%dt% echo Create Master Backup xcopy s: c: /y /q echo Update completed... ping -n 10 127.0.0.1 >NUL exit HTH Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com