vdevelop
If you wanted to use the 32 bit command line version of PkZip, the following code is for backing up where USER.drive_lett is the Zip/CD-RW drive:-
lcTemp = ;
[/N3 ] ;
+SYS(5) ;
+SYS(2003) ;
+[\pkzip25 -add -dir=full -exclude=*.bak -temp=];
+GETENV([windir]) ;
+[\temp ] ;
+USER.drive_lett ;
+[:\data ] ;
+SYS(5) ;
+SYS(2003) ;
+[\database\*.*]
! &lcTemp
*-- The following code is for restoring where USER.drive_lett *-- is the Zip/CD-RW drive:-
lcTemp = ;
[/N3 ] ;
+SYS(5) ;
+SYS(2003) ;
+[\pkzip25 -extract -overwrite -directories ] ;
+USER.drive_lett ;
+[:\data ] ;
+SYS(5) ;
+[\]
! &lcTemp
*--
I have written a FAQ on this subject, which can find by clicking on the relevant button on this page.
You will find PkZip25 to be quicker than creating a .CAB file, but you will need licences, whereas the .CAB file version is FREE. The .CAB file will be far smaller.
Chris