home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Big Blue Disk 27
/
bbd27.zip
/
BATCH.TXT
< prev
next >
Wrap
Text File
|
1988-10-21
|
2KB
|
49 lines
|A╔══════════════╗════════════════════════════════════════════════╔══════════════╗
|A║ |6Happy Hacker |A║════════════════ ^1Batch Utilities |A═══════════════║ |6Happy Hacker |A║
|A╚══════════════╝════════════════════════════════════════════════╚══════════════╝
^Cby
^CPaul Scanlon
Batch files are a very powerful feature of PC-DOS. They allow branching,
conditional testing, and the passing of parameters to programs. However, there
are some other things, such as formatted screen output, that you still must
write a program in a regular programming language if you want to do. Batch file
text output is generally limited to simple text lines output with the ECHO
command. However, this set of utilities give you some more options which make
batch files a powerful programming language in their own right.
These utilities are the beginning of a set of utilites that will replace and
enhance many of the DOS Batch file commands.
A quick look at these programs :
CT.COM -- toggles the cursor on and off.
COFF.COM -- turns the cursor off
CUON.COM -- turns the cursor off
CLR.COM -- clears a window of a given size
LOCATE.COM -- much like the LOCATE command in BASIC, positions the cursor
SCROLL.COM -- scrolls a given window on the screen (up or down)
WAIT.COM -- pauses for specified period of time (up to 9 seconds)
WRITE.COM -- replaces the echo command, puts one line of text on the crt
The included TEST.BAT file demonstrates the use of the utilities as well as
explains their use.
A text file is included (already formatted for 8.5x11) that can be printed
simply by type COPY BATCH.PRN PRN at the DOS prompt. It has no embedded printer
codes, so should print even on a daisy wheel.
To run this program outside the BIG BLUE DISK menu, type ^1TEST^0.
DISK FILES THIS PROGRAM USES:
^FBATCH.PRN
^FTEST.BAT
^FCLR.COM
^FCOFF.COM
^FCT.COM
^FCUON.COM
^FLOCATE.COM
^FSCROLL.COM
^FWAIT.COM
^FWRITE.COM