[DXBase] Backup batch file
Jim McDonald
[email protected]
2004年2月21日 17:28:26 -0700
The subject comes up periodically of backing up DXbase files to another
drive. I use a DOS batch file with a shortcut on my desktop. I execute it
when DXbase is not running. Maybe a quick backup routine will be included
in the next version, but I am using this now.
I recently had to update mine for a new PC. I succeeded in making it fail,
I think because I didn't realize the need to use quotation marks, which I
didn't do when I learned DOS over 20 years ago. In case anyone else wants
it, I have it copied below. You'll have to adjust your paths (i.e., drive
names and folder names) accordingly.
Jim N7US
-----------------------------------------------------------------------
Rem Copy all important DXBase files to a mapped drive H:
copy "C:\Program Files\Scientific Solutions\DXbase 2004\*.co"
H:\Backups\DXbBak /y
copy "C:\Program Files\Scientific Solutions\DXbase 2004\*.mdb"
H:\Backups\DXbBak /y
copy "C:\Program Files\Scientific Solutions\DXbase 2004\*.ini"
H:\Backups\DXbBak /y
copy "C:\Windows\hosts" H:\Backups\DXbBak /y
Rem Copy all important DXBase files to a mapped Zip drive Z:
copy "C:\Program Files\Scientific Solutions\DXbase 2004\*.CO"
Z:\Backups\DXbBak /y
copy "C:\Program Files\Scientific Solutions\DXbase 2004\*.mdb"
Z:\Backups\DXbbBak /y
copy "C:\Program Files\Scientific Solutions\DXbase 2004\*.ini"
Z:\Backups\DXbBak /y
copy "C:\Windows\hosts" Z:\Backups\DXbBak /y