Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!csd4.milw.wisc.edu!lll-winken!ubvax!ardent!peck!rap From: rap@peck.ardent.com (Rob Peck) Newsgroups: comp.sys.amiga Subject: Re: Resident .. wildcards ?? Message-ID: <7717@ardent.UUCP> Date: 3 Aug 89 20:37:31 GMT References: <8908030823.AA24551@jade.berkeley.edu> Sender: news@ardent.UUCP Reply-To: rap@peck.ardent.com (Rob Peck) Organization: Ardent Computer Corp., Sunnyvale, CA Lines: 22 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