[comp.sys.amiga] Resident .. wildcards ??

LAUL@UREGINA1.BITNET (Dennis Gorrie) (08/03/89)

I currently copy my whole C directory to RAM: disk upon startup.
.
I would instead like to make the whole C dir RESIDENT  , with one command
(I don't want to have to RES every single program in the C dir one at a time.)

Is there any way I can do this with REZ, RESIDENT, or ARES ???

(ps thanks to the developers of ARP.  it is a real boon to us who only have
 floppy systems.... BTW, when will ARP 1.4 be out?




|============================================================================|
| (patient)  Go ahead doc, tell me the worst.                                |
| (doctor)   I'm sorry, but you have MS-DOS...                               |
| (patient)  MS-DOS??   ...Maybe I caught it from a toilet seat or something.|
|                                                                            |
| DENNIS GORRIE (LAUL AT UREGINA1.BITNET)                                    |
|============================================================================|

rap@peck.ardent.com (Rob Peck) (08/04/89)

In article <8908030823.AA24551@jade.berkeley.edu> LAUL@UREGINA1.BITNET (Dennis Gorrie) writes:
>
>I would instead like to make the whole C dir RESIDENT  , with one command
>(I don't want to have to RES every single program in the C dir one at a time.)

The command in S:, named SPAT, is what you could use to make a command
that does not accept a wildcard do wildcard things. SPAT is an execute
script with the script-protection-bit set.

If S: is in your PATH, then this command should do what you have requested.
Make sure that everything in C: is RESIDENT-able in the first place, or
perhaps separate your C directory into a C and a C2 (lets say, for the
nonresidentable stuff).  If the LIST command output shows the "p" bit
set (the command is PURE), it is highly likely that it is residentable.

	SPAT RESIDENT C:#?

"Use the SPAT script, and apply the RESIDENT command on everything that
matches the AmigaDOS wild card pattern C:#?"


Rob Peck