home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
CO
/
CO003A.ZIP
/
GT1402-1.ARC
/
RAMDISK.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-04-22
|
2KB
|
56 lines
echo off
echo .
echo . Use this .BAT file to run GT from a RAM disk.
echo .
if "%1" == "" goto warn
if "%2" == "" goto warn
echo . Once GT has been started, the program disk can be removed,
echo . but it will be needed when you exit GT.
echo .
echo . NOTE: You may need to change the "Phone Directory PATH" in the
echo . GT configuration file. Use the ALT-I command, then set
echo . it to point to the RAM disk.
echo .
pause
echo .
echo . Loading files to the RAM disk.
echo .
%2
echo on
copy %1*.dir
copy %1gt.cnf
copy %1gt.key
copy %1gt.log
echo off
%1gt1400 %3 %4 %5 %6 %7 %8 %9
%1
echo .
echo . Saving the configuration and directory files.
echo .
echo on
copy %2*.dir
copy %2gt.cnf
copy %2gt.key
copy %2gt.log
goto fin
:warn
echo .
echo . ERROR: You must specify the drives to use!
echo .
echo . Example: "ramdisk d: e: s /d".
echo .
echo . Where: d: ..... is the program disk and
echo . e: ..... is the RAM disk, and
echo . s ..... is optional, the name of a
echo . script to execute, when GT is
echo . started.
echo . /d ..... is optional, the DTR switch, if present
echo . GT will NOT drop DTR upon exit to DOS.
echo .
echo . Also: The user should manually set the
echo . desired directories on each drive
echo . before executing this .BAT file.
echo .
echo on
:fin