Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sunybcs!uhura.cc.rochester.edu!rochester!udel!mmdf From: brianr%tekig5.pen.tek.com@cunyvm.cuny.edu Newsgroups: comp.sys.amiga Subject: Convenient Assign script Message-ID: <5476@nigel.udel.EDU> Date: 6 Dec 89 16:13:43 GMT Sender: mmdf@udel.EDU Lines: 26 I keep a script file in my S: directory called "AssignHD", which is executed during my startup sequence. AssignHD consists exclusively of "Assign volume: pathname" commands, and performs nearly all of my startup assignments. I've written a little script that is useful when installing software that needs to live in a uniquely named volume. This script (which I called "PAS", standing for Permanent ASsign) both performs a "normal" assign operation AND adds a line to the end of S:AssignHD which will duplicate the assignment on all subsequent rebootings. It isn't a very smart script, but it ought to work OK unless deliberately abused. It's real short, so I'll include it here: ------------------------------------------ .key newvol,path if exists "" echo >t:pas<$$> "Assign " join s:AssignHD t:pas<$$> to t:newpas<$$> copy t:newpas s:AssignHD protect s:AssignHD +s assign delete t:#?pas<$$> endif ------------------------------------------ Brian Rhodefer