[comp.sys.apple] Running a SYS file

SEWALL@UCONNVM.BITNET (06/22/87)

At least you EXEC'd EXEUTIONER under ProDOS.  If you are in
BASIC.SYSTEM (where you have the ] prompt), the program will
execute with:

-EXECUTIONER

(just a little dash will do it.  In fact, that little dash is
a really cute ProDOS BASIC feature.  It'll EXEC a TXT file,
RUN a BAS file and BRUN a BIN file as well as execute a SYS file).

The advantage of a SYS file is that it can be executed without
having BASIC.SYSTEM active.  In response to that nasty ProDOS habit
of asking for a pathname and system file, you can use EXECUTIONER
(if you can remember the VOLUME ID, that's the one I always forget).

Also, if EXECUTIONER is the first SYS file after PRODOS.SYSTEM on
the disk, it will execute when the disk is booted (right guys?  I
use native ProDOS so seldom, I can never remember whether the startup
SYS file has to be something.SYSTEM or not).

denbeste@bgsuvax.UUCP (06/29/87)

> Also, if EXECUTIONER is the first SYS file after PRODOS.SYSTEM on
> the disk, it will execute when the disk is booted (right guys?  I
> use native ProDOS so seldom, I can never remember whether the startup
> SYS file has to be something.SYSTEM or not).

When prodos boots, it looks for the first file in the directory that is
of type SYS and the last 7 characters of the filename are .SYSTEM . 
Filenames also have a 15 character limit (including the .SYSTEM).
Thus, you would need to name it something like EXECTNER.SYSTEM.

Also, PRODOS is never named PRODOS.SYSTEM.  If you were to do this, it
would most likely find its self and rerun PRODOS infinately.

---
          William C. DenBesten | CSNET denbeste@research1.bgsu.edu
      Dept of Computer Science | UUCP  ...!cbosgd!osu-eddie!bgsuvax!denbeste
Bowling Green State University |
  Bowling Green, OH 43403-0214 |