|Everything HP200LX: Knowledge, Products, Service|
USE APPOINTMENT BOOK TO DO A TIMED AUTOMATIC BACKUP 100LX
I am using a batch file started from the Appointment Book to backup my files every night. It copies all files which have been changed on drive C: to my RAM card, drive A:. The batch file also writes the date and time to a file to verify that the backup actually took place (it always has). I have it set to start at 2:00 am every morning. My BACKUP.BAT file looks like the listing below.
rem --- RUN DAILY BACKUP OF C:
rem --- and subdirectories
rem --- to A:\backup\full\
rem -------------------rem --- Start in C:\
rem --- Remove time stamp
rem --- Complete Backup to A:
xcopy c:*.* a:\backup\full\ /s /m
rem --- When was this job done?
date > a:\backup\datetime <
time >> a:\backup\datetime <
rem --- Return control to SYSMGR
The file CR.TXT accessed from the batch file in the third-to-last line contains one carriage return. Go into MEMO and press (ENTER) once and save it as the file CR.TXT in the A:\BACKUP directory on the RAM card. Then set up BACKUP.BAT as a repeating appointment in APPT using the vertical bar in the description field: |C:\backup.bat . You will also need to put Q in the location field to suppress the "Press any key..." message and allow the computer to return to System Manager. (See pages 13-18 in the HP 100LX User's Guide for more on this subject.)
If you have problems getting this to run, you might need some more system memory. In that case you could run a macro that terminates all programs before running this backup batch file.
Iver Erling Aarva
CompuServe ID: [70630,553]
Copyright © 2010 Thaddeus Computing Inc