BAT_USE

Syntax BAT_USE batch$
Location Beuletools

This command is used to specify a command string containing SuperBASIC keywords which will be typed into the command line (#0) when the command BAT is issued. The string may be up to 128 characters long. You may add CHR$(10) to the end of the string in order to emulate an <ENTER> keypress (as in the example below).

Example

BAT_USE “PAPER 3: INK 7: PAPER#2,3: PAPER#2,3: INK#2,7: WMON 4: BORDER 1,0: BORDER#2,0” & CHR$(10)

The command BAT will now reset the standard start-up windows.

CROSS-REFERENCE

BAT executes the batch string set with BAT_USE.

See FORCE_TYPE,STAMP and TYPE_IN also.

DO allows batch files of any size to be executed.