Remembering from the old days of DOS (like going back 21-22 years!), the Copy command has a /V option to ensure the copy was made correctly. To do that, add a " /V" after each Copy line.
I have a question. What are the apostrophes for? Jim N7US ----- Original Message ----- From: "FireBrick" <[EMAIL PROTECTED]> To: "DXBase List" <[email protected]> Sent: Sunday, February 23, 2003 8:22 PM Subject: [DXBase] another .bat file for backup Taking a lead from Tony Cash's backup utility I created a version for me. Slightly different but principals the same. In my case DXBase is installed on the E drive directory called DXB (I did all this to make the copy commands easy to type hence eliminating typos) So the first part copy the important DXB files to the C drive and a directory call Backup. Rem Copy all important DXBase files to a C drive, F drive(CDRW) rem and E drive on FR Computer (CDRW) rem First it copies the important DXB files to the C drive on the same computer. rem Copy all important DXBase files to another Hard Drive on Hamshack1 copy "E:\DXB\*.co" "C:\Documents and Settings\Bill\My Documents\Backup\" copy "E:\DXB\*.mdb" "C:\Documents and Settings\Bill\My Documents\Backup\" copy "E:\DXB\*.ini" "C:\Documents and Settings\Bill\My Documents\Backup\" copy C:\WINDOWS\DXB2003.ini "C:\Documents and Settings\Bill\My Documents\Backup\" copy C:\WINDOWS\system32\drivers\etc\hosts "C:\Documents and Settings\Bill\My Documents\Backup\" rem The second part copies the same files to a CDRW drive on the same computer. REM Copy all important DXBase files to CDRW on Hamshack1 copy "E:\DXB\*.co" "F:\" copy "E:\DXB\*.mdb" "F:\" copy "E:\DXB\*.ini" "F:\" copy "C:\WINDOWS\DXB2003.ini" "F:\" copy "C:\WINDOWS\system32\drivers\etc\hosts" "F:\" rem The third part copies the same files to a CDRW drive on different computer which is on the LAN Rem Copy all important DXBase files to a CD-RW drive on another computer via the LAN. copy "E:\DXB\*.co" "\\FR\D on CDRW\" copy "E:\DXB\*.mdb" "\\FR\D on CDRW\" copy "E:\DXB\*.ini" "\\FR\D on CDRW\" copy "C:\WINDOWS\DXB2003.ini" "\\FR\D on CDRW\" copy "C:\WINDOWS\system32\drivers\etc\hosts" "\\FR\D on CDRW\" (if you have a LAN, you can easily get the address of that computer by going to Windows Explorer, drilling to the drive on the LAN you want and copying the address from the PATH bar at the top of the screen) I save this file to C:\ You can now use the Windows Schedule program to automate this .bat file. Of course your computer must be on to do this. But mine never shut down. I make it a practice that before making any changes, importing any contest logs, etc. to manually start the .bat file from the RUN command. Even though I have a couple .mdb files this whole process barely takes a couple of minutes. Hope this helps. ----------------------------------------------------- Why put off until tomorrow what you'll never do anyway? ----------------------------------------------------- W9OL, Bill H. in Chicagoland _______________________________________________ DXBase Reflector - Please visit us on the web at www.dxbase.com - - - - - - - - - - - - - - - - - - - - - - - To UNSUBSCRIBE please visit: http://mailman.qth.net/mailman/listinfo/dxbase

