home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
c
/
cre8v11.zip
/
GO.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-01-07
|
1KB
|
47 lines
:* --version 1.01, 1-7-93
:* --written by Don Hancock
:* --9758 Sandridge Drive
:* --Sandy, UT 84092-3035
@echo off
:* --This Deletes any OLD files left in the \Work1\ subdirectory.
:* --This eliminates any possibility of new files mixing with old.
ECHO.
:* --Zips up the junk Files, if any, then Deletes that Zip file.
pkzip -m \work1\junk~~ \work1\*.*
del \work1\junk~~.zip
:* --Changes to the storage directory.
cd\work
:* --Unzips files from the storage area to the \Work1 subdirectory.
pkunzip %1 \work1
:* --Changes to the working directory.
cd\work1
:* --Runs the program (with switches, if needed).
%1 %2
cls
echo.
echo.
echo.
echo.
echo.
:* --Ask if everything is OK
:* --This gives you a chance to break out and edit or
:* --change some files before they are achived back.
ECHO Did Everything Go O.K.?
ECHO.
echo If not, or if you want to change or edit some files,
echo escape from this batch file by using the {CTRL}+{BREAK} key
echo combination. Remember to CREATE another archive if you make
echo any changes or they won't be saved.
echo.
echo Did you register or at least send a Thank You Card ?
echo.
PAUSE
cls
:* --Make sure we're where we want to be.
cd\work1
:* --Zip & Move (delete) back to storage area, Add changed files (-U)
pkzip -mu \work\%1 *.*
:* --Returns to MENU (or change the next line to wherever you would like
:* --to be after running program). Delete this line if it's a problem.
menu