home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1989
/
09
/
ansimode.bat
next >
Wrap
DOS Batch File
|
1988-12-06
|
425b
|
21 lines
ECHO OFF
REM ANSIMODE.BAT
FOR %%x IN (0 1 2 3 4 5 6) DO IF "%%x"=="%1" GOTO OK
ECHO SYNTAX "%0 #" where # is one of:
ECHO 0. 40 Column; B&W
ECHO 1. 40 Column; Color
ECHO 2. 80 Column; B&W
ECHO 3. 80 Column; Color
ECHO 4. 320 by 200 Graphics; Color
ECHO 5. 320 by 200 Graphics; B&W
ECHO 6. 640 by 200 Graphics; B&W
GOTO End
:OK
SET PROM=%PROMPT%
PROMPT $e[%1h
ECHO ON
ECHO OFF
PROMPT %PROM%
SET PROM=
:END