home *** CD-ROM | disk | FTP | other *** search
- @echo off
- :: ('echo off' can be removed if you defined 'BatchEcho= no' in your
- :: 4DOS.INI file.)
-
- setdos /U1
-
- PROMPT = [#$z: %pgm]_$P$g
-
- rem PROMPT = n[#$z: %pgm]_$P$g
- rem 'n' adds one line before prompt. (This may not be necessary for
- rem your version of 4DOS.)
-
- : [alternative prompt sequences:]
- : PROMPT = [level $z: %@UPPER[%pgm]]_$P$g
- : PROMPT = [$z:%pgm]_$P$g
- : PROMPT = [dos level $z: %pgm]_$P$g
- :
- if %_4ver ge 5 quit
- :: ( The following segments are useful only for 4DOS versions prior to 5.x.)
-
- if not %$d == d: set $d=d:
- rem ^^ ^^ change as needed
- if %_shell == 0 if exist %$d\history.log del /q %$d\history.log
-
- if %_shell gt 0 history /f && if exist %$d\history.log history /r %$d\history.log