Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!psuvax1!rutgers!cbmvax!cbmehq!cbmger!peterk From: peterk@cbmger.UUCP (Peter Kittel GERMANY) Newsgroups: comp.sys.amiga Subject: Re: Dynamic Startup-Sequence Message-ID: <438@cbmger.UUCP> Date: 24 Sep 90 07:57:48 GMT References: <530@ncr-mpd.FtCollins> Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY) Organization: Commodore Bueromaschinen GmbH, West Germany Lines: 20 In article <530@ncr-mpd.FtCollins> chipb@santana..FtCollins.NCR.com (Chip.Brewster) writes: > What I would like to >do is test if a disk is inserted in df1: and execute df1:s/Startup. When you want this to do in a script without a new program, then I have a solution for you IF you work under KS 1.3: Do a info >ram:inf df1: search >ram:inf1 ram:inf "No disk present" if warn echo "There is a disk in df1:" ; or do something else here endif delete ram:inf ram:inf1 Under 2.0 I had problems with the flags not set by the search command, but this may get fixed. -- Best regards, Dr. Peter Kittel // E-Mail to \\ Only my personal opinions... Commodore Frankfurt, Germany \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk