[Coco] Re: Re: Nitros9 Script question

mmarlett at isd.net mmarlett at isd.net
Mon Oct 4 15:02:58 EDT 2004




Charlie,


:dir -e *.adv doesn't work???????


Add the : in front of the dir command.

????

Mark



>> There are always problems with commands runithin scripts since they

>> frequently evaporate when the script ends. That is why I chose to run

>> the game from within the script instead of expecting it to continue

>> running after the script was finished.

>>

>> The above requires telling the game where I/O is located. I use several

>> windows and can't predict the window from which the script might be run.

>> /1 is the standard output path, thus the path used by the script. All

>> communication to/from the game is redirected to the script path thus the

>> <>>>; < = input, > = output, >> = error output.

>>

>> There is always more than one way to make things work with computers.

>> You may get "ex rogue %1" if you redirect I/O correctly. Also, rogue is

>> a slow starter taking 5-10 seconds to start after loading.

>>

>

>Thank you. Using <>>>/1 worked perfectly.

>Now I wish OS9 had a dir command similar to dos where you can do a dir

*.adv

>to list only files with the adv extension. :-)

>

>Charlie

>

>

>

>

>--

>Coco mailing list

>Coco at maltedmedia.com

>http://five.pairlist.net/mailman/listinfo/coco

>




More information about the Coco mailing list