home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
a
/
art_bbs.zip
/
VIEW.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-03-08
|
1KB
|
45 lines
: ****************************************************************************
: VIEW.BAT
: ****************************************************************************
@ECHO OFF
SET BREAK=ON
IF "%1" == "" GOTO usage
IF "%2" == "" GOTO usage
IF "%1" == "`" GOTO view
normcurs
nocurs
FOR %%f in (1,2,3,4,5) DO CALL %0 ` swap%%f %1 1
FOR %%f in (*.ans) DO CALL %0 ` %%f %1 %2
CALL reset
CLS
ECHO.
ECHO. You have seen 'em all!
ECHO.
GOTO end
:
:usage
CLS
ECHO.
ECHO. VIEW.BAT
ECHO.
ECHO. Usage: VIEW delay_count screen_pause
ECHO.
ECHO. delay_count baud emulated
ECHO. =========== =============
ECHO. 0 9600
ECHO. 1 4800
ECHO. 3 2400
ECHO. 7 1200
ECHO.
ECHO. screen_pause is number of seconds between screens
ECHO. i.e. 2 (recommended) will pause 2 seconds
ECHO. between screens
ECHO.
ECHO. Try: VIEW 3 2
ECHO.
GOTO end
:
:view
io %2 %3
waituntl %40
:end