home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
BF
/
BF108.ZIP
/
RAMTAX90.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-12-31
|
2KB
|
61 lines
echo off
rem RAMTAX90.BAT file ver 12-31-90
cls
%1:
echo
if x%1==x goto param
if x%2==x goto param
IF %2 .== B: GOTO FOUND
IF %2 .== C: GOTO FOUND
IF %2 .== D: GOTO FOUND
IF %2 .== E: GOTO FOUND
IF %2 .== F: GOTO FOUND
IF %2 .== b: GOTO FOUND
IF %2 .== c: GOTO FOUND
IF %2 .== d: GOTO FOUND
IF %2 .== e: GOTO FOUND
IF %2 .== f: GOTO FOUND
:param
echo ┌─────────────────────────────────────────────────────────────────┐
echo │ When running the RAMTAX90 batch file key in TWO drive letters │
echo │ with the colons (:). │
echo │ │
echo │ The first drive letter is the FROM drive. │
echo │ The second drive letter is the RAM drive. │
echo │ │
echo │ If you have your files on a disk in drive "B" and your RAM disk │
echo │ is designated as drive "F" you would enter the following command│
echo │ from the drive a prompt: │
echo │ │
echo │ RAMTAX90 B: F: │
echo │ │
echo └─────────────────────────────────────────────────────────────────┘
pause
cls
GOTO STOP
:FOUND
echo
echo ┌────────────────────────────────────────────────────────────────┐
echo │ You have chosen to run RAMTAX90 from drive "%1" to the │
echo │ RAM drive designated as the letter "%2" │
echo │────────────────────────────────────────────────────────────── │
echo │ Remember: Drive "%2" must have 150 Kb free for one set of │
echo │ MTX** files. │
echo │ If you are not sure that this is what you wanted, │
echo │ press the "Ctrl-Break" keys. │
echo │─────────────────────────────────────────────────────────────── │
echo │ Otherwise ... │
echo └────────────────────────────────────────────────────────────────┘
pause
ECHO ON
copy %1MTX*.* %2
PC-TAX90 DRIVE=%2
COPY %2MTX*.* %1
ERASE %2MTX*.*
:ENDBAT
echo off
echo ┌──────────────────────────────────┐
echo │ End of the RAMTAX90 batch file │
echo └──────────────────────────────────┘
:stop