|Everything HP200LX: Knowledge, Products, Service|
Install ZIP.COM On Your Computer and On Your HP 95LX
If ZIP.COM * is not on your 95LX, transfer it to the Palmtop using the INSTALL program from the Subscribers Disk, or use APP95 from the HP Connectivity Pac. In any case, ZIP.COM should go in the root directory of the C drive.
Also, copy ZIP.COM onto the hard disk of your desktop PC.
ZIP.COM must be configured to use the correct serial port on both machines. The Subscribers Disk version of ZIP.COM is configured to use COM1 as the default serial port. However, if you're using COM1 on your PC to run a mouse, then ZIP must be told to use COM2 or COM3.
Ordinarily, ZIP.COM comes with a companion program, ZIPCFG.COM, that lets you configure ZIP.COM so it will use COM 2, COM3, or COM4 automatically, every time it is run.
* On The HP Palmtop Paper on Disk
FREYJA -- Jul/Aug, 92, ON DISK
ZIP.COM -- 1992 Subscribers Disk.
If you register ZIP.COM, you'll get the full package of ZIP files. The directions for using ZIPCFG will come with the package. (On the other hand, if you have version 1.51 of ZIP.COM, the ZIPCFG.COM file from that version will also work with the newer version of ZIP.COM that came on the Subscribers Disk).
Even without ZIPCFG.COM, you can still run ZIP.COM on your PC. The batch files in this article contain a command line option which will tell ZIP to use a particular COM port.
BKUPC.BAT and BKUPA.BAT
Use a text editor on your PC to key in the following batch files.
In these batch files, you should replace any occurrence of XXXX with the name of the directory, on your PC, where you've put ZIP.COM.
The /n, in the same line of the batch files, stands for /2 (/3 or /4) where "2", "3", or "4" is the number of the PC serial port you are using. Eliminate /n if you are using COM1.
Here is the first batch file. As you key it in, make the necessary changes indicated above and save it as B:\BKUPC.BAT. (Any indented line is a continuation of the previous line, NOT a separate line.)
ECHO Backing up C:\
C:\XXXX\ZIP C:\*.* /n /FT[B:\C] > NUL
FOR %%E IN ( 1 4 8 16 128 ) DO IF
ERRORLEVEL=%%E SET E=%%E
ECHO Backing up C:\%1
C:\XXXX\ZIP C:\%1\*.* /n /FT[B:\C\%1] > NUL
FOR %%E IN ( 0 1 4 8 16 128 ) DO IF
ERRORLEVEL=%%E SET E=%%E
IF NOT (%1)==() GOTO AGN
ECHO Argument Error
ECHO Out of memory--too many files
ECHO Connection error
ECHO Transmission error
ECHO Disk error (full?)
ECHO At user's request
ECHO Communication halted
c:\XXXX\zip /u > nul
ECHO Server is unlinked.
I'll briefly explain what's going on at the end of the article. It's not as complicated as it looks.
The second batch file is similar to the first, and only needed if you are using a RAM card A drive.
To save yourself some typing, make a copy of the first BKUCP.BAT file and modify it. At the DOS B\> prompt, issue the DOS command, copy bkupc.bat bkupa.bat. Then use a text editor to modify the BKUPA.BAT file. Modify as follows:
Line 2 -- change BKUPC.BAT to BKUPA.BAT
Line 5 -- change C:\ to A:\
Line 6 -- change C:\*.* to A:\*.* and change B:\C to B:\A
Line 10 -- change C:\%1 to A:\%1
Line 11 -- change C:\% to A:\% and change B:\C\ to B:\A\
DELETE -- last three lines
MODIFY -- new last line. Change "ECHO Communication halted" to ECHO Communication interrupted
The third batch file will be used to drive one or both of the first two batch files. This batch file will be somewhat unique to your individual situation and you will have to write it yourself. Use the following .BAT file as a template when writing your own .BAT file. (It must be modified and will not work as is.)
CALL B\BKUPA DIR1a DIR2a DIRna
B\BKUPC _DAT DIR2c DIR3c DIRnc
Replace DIR1a...DIRna with the full names of the directories on the A drive of your 95LX. Replace DIR2c DIR3c DIRnc with the full names of the directories on the C drive of your 95LX.
If you don't have an A drive on your 95LX, delete the fourth line in the batch file.
(If you're using MS-DOS 2.1 or earlier, the "CALL" command should be replaced with COMMAND /C in the above batch file.) Save your customized batch file as B:\BKUP95.BAT.
This file will drive one or both of the BKUPC.BAT and BKUPA.BAT files. It will pass the names of your directories to the other two batch files, which will use them to transfer the files from your 95LX to the appropriate hard disk directories.
Copyright © 2010 Thaddeus Computing Inc