Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!motcid!king From: king@cell.mot.COM (Steven King) Newsgroups: comp.sys.amiga Subject: Re: Not accepted DIR command Summary: Better ways to put commands in RAM: Message-ID: <198@grape3.UUCP> Date: 3 Oct 89 21:49:23 GMT References: <3831@vtt.vtt.fi> <8057@cbmvax.UUCP> Reply-To: king@grape3.UUCP (Steven King) Organization: Motorola Inc. - Cellular Infrastructure Div., Arlington Heights, IL 60004 Lines: 32 In article <8057@cbmvax.UUCP> ewout@cbmvax.UUCP (Ewout Walraven - CATS) writes: >You may want to copy the commands you need (dir, cd type, etc) to >your ramdisk and assign c: to ram:, so you can swap disks more >easily (note that if you want to use a command not in ram: you >either have to assign c: back to Workbench1.3:c again or include the >volume and pathname in the command. I.e. Workbench1.3:c/ed or >df0:c/ed if the Workbench is present in the internal drive. ) There are easier ways of accomplishing the same thing. The first (and best) way to put commands into RAM is to use the "resident" command. Type "resident c:commandname" to install the command "commandname" from your c: directory as resident. Resident commands are always there when you need them (no need to swap in your boot disk!) and they take less room in memory than putting the same command on a RAM disk. "Resident" is only available on Workbench 1.3. The second method is to copy the files to your RAM disk like Ewout says, but then to use the command "path ram: add" instead of re-assigning your c: directory. This will add the volume "ram:" to the path AmigaDOS searches when you type a command. If your c: directory isn't on-line (or the command isn't in there) the other entries in the searchpath will be checked for it. This is a LOT easier and less kludgy than re-assigning c: to ram:. PLUS, you can use any command that's in c: but that you didn't put in ram: without another "assign" command. The default startup-sequence ("StartupII" in the sys:s directory) on Workbench 1.3 automatically adds ram: to the searchpath, so all you need to do is copy the desired commands there. /-----------------------------------------------------------------------------\ | I'm very good at giving directions, especially | Steve King (312) 991-8056 | | if I'm giving them to myself, 'cause I know | ...uunet!motcid!king | | what I'm talking about. | ...ddsw1!palnet!stevek | \-----------------------------------------------------------------------------/