CompuServe Thread

#Syquest startups

3 messages in this thread
#45731From: Robert PigfordFeb 18, 1995 4:48 PM
I've a Syquest 88M in my system, and am trying to set up separate bootup instructions for each volume (88M cartridge). The internal HD handles all the startup functions, and I want to add some logic to my user-startup that does something like: if exists Volume1: execute s:Volume1.startup else echo "Volume1 not mounted!" endif if exists Volume2: execute s:Volume2.startup else echo "Volume2 not mounted!" endif This works fine for the volume that is mounted, but presents a requester upon looking for the unmounted volume. Is there a way to do this and prevent any requestors from popping up? – Rob.. <71212.712@compuserve.com> RBProductions <cyrano@aztec.inre.asu.edu>
#45762From: Werner KazmierzakFeb 21, 1995 9:08 AM
Robert, testing for a device to exist should be done with the assign command to prevent a system request. So the solution is… failat 30 assign >NIL: Volume1: exists if warn echo "Volume1 not mounted" else execute s:Volume1.startup endif assign >NIL: Volume2: exists if warn echo "Volume2 not mounted" else execute s:Volume2.startup endif Hope this will work for you. – wkc – … via AP from Hamburg, Germany
#45903From: Robert PigfordFeb 27, 1995 8:42 PM
Werner – Thanks for the help with multiple devices and assigns. Your suggestion works like a charm. – Rob.. <71212.712@compuserve.com> RBProductions <cyrano@aztec.inre.asu.edu>