home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / newc_dev / autores.lha / AutoRes.Doc < prev    next >
Text File  |  1993-03-09  |  2KB  |  39 lines

  1.  
  2.                                AutoRes
  3.  
  4.                                   by
  5.                              Iain Hibbert
  6.  
  7.  
  8.     AutoRes is a smallish program, which you can resident in place of
  9.     another larger program. When it is run, it does the following:
  10.  
  11.         gets its command name,
  12.         looks in the C: dir for the file with the same name,
  13.         adds that file to the resident list,
  14.         runs that file
  15.  
  16.     when it exits, it has left the replacement program in the resident list,
  17.     so that will be run thereafter.. and if you are a bit short of memory
  18.     again, just remove it, and it will be reloaded automatically next time
  19.     you want to use it.
  20.  
  21.     the usual usage would be to put it in your user-startup, so that you
  22.     can have optional residentability of your executables. I use it for my
  23.     DICE executables, as I don't always need them.
  24.  
  25.     I only look in the C: directory, because that makes it easier, and as
  26.     its a v37+ program only, you can make use of the multiple assigns, so
  27.     C: can be many directories, and it will always find the program. You
  28.     may change this if you wish, as the source is included.
  29.  
  30.     If you just run autores by itself, and it just happens to be in the C:
  31.     assignment, it will add itself to the resident list until you run out
  32.     of memory, then exit.. you can get it all back though, just keep typing
  33.     resident autores remove until they are all gone ;-)
  34.  
  35.     To prevent this happening, set the protection to not include the e bit,
  36.     then you can't run it by accident, but resident won't complain.
  37.  
  38.         written using the DICE shareware C compiler from Matt Dillon
  39.