kskelm@happy.colorado.edu (06/10/91)
In article <1991Jun9.222717.5248@cec1.wustl.edu>, amc@wucs1.wustl.edu (Adam Costello) writes: > Does anyone know of a way to run the Substance demo from a hard disk? > I tried, but the timing got screwed up. > I would really appreciate any info on this subject. NNNNNNNot a good idea, running demos from a hard disk. I trashed my HD doing that once. A much better solution is the one I took... I wrote a script file which runs from icon, and that script file opens a CLI, does an LS on the demos directory on the HD, and then runs a small program I wrote. That program prompts the user for a name, and if that file exists, it generates a short script file in RAM:, and then exits. Now, back in the MAIN script file, we simply call the new one in RAM, which copies the appropriate demo to RAM, WAITS FIVE (5) SECONDS for activity to calm down, then runs the demo. In case this demo can exit nicely, the script then deletes the demo from RAM and exits. A rather nice solution.