AUTO
Command
AUTO
[parameters] [*][command line]
Stores
an
AUTO command line. This command line automatically
executes whenever you start
up
or reset TRSDOS. (That
is,
after you
enter the date and time, TRSDOS loads, executes the command line,
and displays the TRSDOS Ready or BASIC prompt.)
You can use AUTO
to
automatically
run
a program after you type
in
the date.
command line
is
limited
to
74 characters
in
length.
The parameters are:
:drive specifies which drive
to
store the AUTO command line on.
?[:drive] displays any AUTO command line stored
on
drive. (The
default
is
Drive 0.)
= [:drive] executes any AUTO command line stored
on
drive.
(The default
is
Drive 0.)
In
most cases, you can override the AUTO command during start-up
or reset by
(1)
holding down the
(ENTER)
key, or
(2)
pressing
(BREAK)
while the auto command is executing.
The exception
to
this is when you store the AUTO command with the
* parameter (which disables the
(BREAK)
key and the ability of the
(ENTER)
key to override AUTO).
If the AUTO command disables the
(BREAK)
key and the program is
non-functional, gaining control of the disk requires several steps. To
regain control:
1.
Start
up
the system with another non-AUTOed disk
in
Drive
0.
2.
When TRSDOS Ready appears, place the non-functional disk
in
Drive
0.
3.
Type AUTO and press
(ENTERl,
and the runaway AUTO command
is removed from the disk.
Use the :drive parameter to place
an
AUTO command
on
a drive
other than Drive
0.
Examples
AUTO BAS I C
(ENTER)
loads the BASIC program whenever you start up or reset on Drive
0.
AUTO
(ENTER)
Turns off the AUTO function currently stored
on
Drive
0.
AUTO
*00
I N
IT
/
JCL:
1
CEHITID
1-22