home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
60.img
/
VMOS.ZIP
/
VMOSAUTO.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-01-17
|
1KB
|
41 lines
echo off
cls
rem This batch file displays the Vmos/3 "hello" screen and does PROMPT setup.
rem It is executed for each DOS Session created.
rem
rem The Task ID is passed as the single parameter, e.g., VMOSAUTO 3.
rem (Note the %1 below... the parameter 3 replaces the %1 for this example)
rem
rem The file HELLO is displayed, if found in \VMOS, and
rem the PROMPT is set, and
rem NEWTASK.BAT is executed if it is found in \VMOS.
rem See the sample NEWTASK.BAT provided for useful startup examples.
rem NEWTASK.BAT is where DOS commands from AUTOEXEC.BAT should be placed
rem In the event you want to install Vmos/3 in a directory other than \VMOS,
rem be sure to change the IF EXISTs below to reflect your chosen directory.
rem If the HELLO file is found, it will be displayed here
IF EXIST \VMOS\HELLO TYPE \VMOS\HELLO
rem Change the PROMPT below, if desired. Examples are:
rem $p$_ current directory (cd) with cursor alone on next line
rem $p$g cd with cursor on same line
rem $p$_$g cd with cursor on next line
rem $p$_$n:$g cd with cursor after drive letter on next line
PROMPT Vmos(%1) $p$_$n:$g
rem If the NEWTASK.BAT file is found, it will be executed with the
rem Task ID as a parameter.
IF EXIST \VMOS\NEWTASK.BAT \VMOS\NEWTASK %1