home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
HD
/
HD035.ZIP
/
UNARC.BAT
< prev
Wrap
DOS Batch File
|
1990-06-21
|
4KB
|
112 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 LOTTO on the %1 drive
md LOTTO
a:
echo Un-archiving LOTTERY to drive %1 directory LOTTO
LOTTERY %1\LOTTO
COPY RANDOMNO.DAT %1\LOTTO
COPY AMERICA.LOT %1\LOTTO
cls
goto place2
:place1
echo
echo ╔════════════════════════════════════════════════════╗
echo ║ START Procedure for Un-archiving ║
echo ╚════════════════════════════════════════════════════╝
echo
echo Have a supply of 1 formatted disk 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 LOTTERY to drive B:
LOTTERY B:\
COPY RANDOMNO.DAT B:\
COPY AMERICA.LOT B:\
echo Please remove disk and mark it LOTTO BUSTER VER. 5.0
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 LOTTERY can be found on the %1 drive in the LOTTO directory.
goto final
:final
echo This un-archiving procedure is copyrighted 1989-90 DSF Associates, Inc.