home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
newc_dev
/
autores.lha
/
AutoRes.Doc
< prev
next >
Wrap
Text File
|
1993-03-09
|
2KB
|
39 lines
AutoRes
by
Iain Hibbert
AutoRes is a smallish program, which you can resident in place of
another larger program. When it is run, it does the following:
gets its command name,
looks in the C: dir for the file with the same name,
adds that file to the resident list,
runs that file
when it exits, it has left the replacement program in the resident list,
so that will be run thereafter.. and if you are a bit short of memory
again, just remove it, and it will be reloaded automatically next time
you want to use it.
the usual usage would be to put it in your user-startup, so that you
can have optional residentability of your executables. I use it for my
DICE executables, as I don't always need them.
I only look in the C: directory, because that makes it easier, and as
its a v37+ program only, you can make use of the multiple assigns, so
C: can be many directories, and it will always find the program. You
may change this if you wish, as the source is included.
If you just run autores by itself, and it just happens to be in the C:
assignment, it will add itself to the resident list until you run out
of memory, then exit.. you can get it all back though, just keep typing
resident autores remove until they are all gone ;-)
To prevent this happening, set the protection to not include the e bit,
then you can't run it by accident, but resident won't complain.
written using the DICE shareware C compiler from Matt Dillon