home *** CD-ROM | disk | FTP | other *** search
File List | 1996-09-12 | 736 b | 23 lines |
- ; This is an example a zip, download and unzip script.
- ;
- ; First, make sure the .ZIP file starts fresh...
- delete k:\somedir\somefile.zip server
- ;
- ; Zip all the .WRI files...
- zip k:\somedir\somefile.zip k:\somedir\*.wri server
- ;
- ; Then, zip all the .BMP files...
- zip k:\somedir\somefile.zip k:\somedir\*.bmp server
- ;
- ; Now, send down to waiting client the file with WRI's and BMP's...
- download k:\somedir\somefile.zip c:\otherdir\somefile.zip
- ;
- ; No longer need the .ZIP file on the server...
- delete k:\somedir\somefile.zip server
- ;
- ; Unzip the file on the client side...
- unzip c:\otherdir\somefile.zip c:\otherdir client
- ;
- ; Finally, remove the .ZIP file from the client...
- delete c:\otherdir\somefile.zip client