home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
HD
/
HD034.ZIP
/
UNARC.BAT
< prev
Wrap
DOS Batch File
|
1989-07-11
|
4KB
|
126 lines
echo off
cls
if %1x==x goto syntax
if "%1"=="C:" goto place0
if "%1"=="c:" goto place0
if "%1"=="D:" goto place0
if "%1"=="d:" goto place0
if "%1"=="E:" goto place0
if "%1"=="e:" goto place0
if "%1"=="F:" goto place0
if "%1"=="f:" goto place0
if "%1"=="B:" goto place1
if "%1"=="b:" goto place1
goto syntax
echo
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ Un-archiving files ║
echo ╚════════════════════════════════════════════════════╝
echo
:place0
%1
cd\
echo Making directory MEGAPUPS on the %1 drive
md MEGAPUPS
a:
echo Un-archiving MEGAPUPS to drive %1 directory MEGAPUPS
MEGAPUPS %1\MEGAPUPS
cls
goto place2
:place1
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ START Procedure for Un-archiving ║
echo ╚════════════════════════════════════════════════════╝
echo
echo Have a supply of 3 formatted disks ready.
echo
echo Place the newly formatted system disk in drive B.
echo
echo NOTE: If you have not yet formatted a disk,
echo ┌─┬────┬─┐ ┌───┐
echo abort by pressing the │ │Ctrl│ │ and the │ C │ keys
echo └─┴────┴─┘ └───┘
echo at the same time. You will then see the question
echo
echo "Terminate batch job?(Y/N)". Respond "Y". Then, format
echo
echo new diskettes and enter UNARC B: to begin again.
echo
pause
cls
echo
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ Un-archiving files ║
echo ╚════════════════════════════════════════════════════╝
echo
echo Un-archiving MEGAPUPS to drive B:
MEGAPUPS *.FOX B:\
MEGAPUPS PCONFIG.IDX B:\
MEGAPUPS PCONFIG.DBF B:\
MEGAPUPS MFOXPRUN.OV* B:\
MEGAPUPS FOXPLUS.RSC B:\
copy megapups.bat b:\
echo Please remove disk and mark it PROGRAM DISK DRIVE A
echo Please change to a new formatted disk in drive B
pause
echo Un-archiving MEGAPUPS to drive B:
MEGAPUPS PUPS.IDX B:\
MEGAPUPS PUPS.DBF B:\
MEGAPUPS PUPSSTAT.IDX B:\
MEGAPUPS PUPSSTAT.DBF B:\
echo Please remove disk and mark it DATA DISK DRIVE B
echo Please change to a new formatted disk in drive B
pause
echo Un-archiving MEGAPUPS to drive B:
MEGAPUPS MFOXPRUN.EXE B:\
echo Please remove disk and mark it RUNTIME DISK DRIVE B:
PAUSE
goto place2:
:place2
CLS
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ !!! Congratulations !!! ║
echo ║ ║
echo ║ You have successfully ║
echo ║ un-archived ║
echo ║ and made your ║
echo ║ working disk. ║
echo ║ ║
echo ╚════════════════════════════════════════════════════╝
echo
pause
goto endit
:syntax
CLS
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ ║
echo ║ !!! Installation ERROR !!! ║
echo ║ ║
echo ║ You must identify the drive on which you want ║
echo ║ your working disk created. Be sure to create ║
echo ║ the hard disk directory, if needed, and trans- ║
echo ║ fer your hard disk to that directory. ║
echo ║ ║
echo ║ For Hard Disk Systems enter: ║
echo ║ ║
echo ║ UNARC C: ─┘ or UNARC D: ─┘or UNARC E: ─┘ ║
echo ║ ║
echo ║ For Floppy Disk Systems enter: ║
echo ║ ║
echo ║ UNARC B: ─┘ ║
echo ║ ║
echo ╚════════════════════════════════════════════════════╝
echo
:endit
if "%1"=="B:" goto final
if "%1"=="b:" goto final
echo MEGAPUPS can be found on the %1 drive in the MEGAPUPS directory.
goto final
:final
echo This un-archiving procedure is copyrighted 1989 DSF Associates, Inc.