[Coco] Nitros9/Scripts question

Kandur k at qdv.pw
Tue Dec 9 15:39:15 EST 2014


Tuesday, December 9, 2014, 11:47:05 AM, Robert wrote:
> Kandur wrote:
>> I have another script question.
>> What script would take me to a subdir?
>> Instead typing every time: chd /dd/nitros9/6809L2/modules/RBF
>> just to type: go2rbf
>> I used build go2rbf with the above command line
>> changed it's attribute to e pe, but it did not work.
>> Kandur

> I may be wrong, but I don't think you can make a permanent change of directories
> within a script. What you can do is change directories, open a new window, and 
> use the CLEAR key to switch to that window.
Don't mind at all to push the CLEAR key to go to a new window,
as long as it's default directory is, e.g. /dd/NIRTOS9/8809L2
> As an example, I can start Koronis Rift with the following script. I must use 
> the CLEAR key to get to the game window.

> xmode /w4 par=1 pag=10
What are these parameters mean?
> cd games/krift
> (/dd/games/krift/cmds/autoex <>>>/w4)&

> A new window and shell start for the game.
Sounds great. 
When you iniz or xmode a window, or starting a shell in it,
is there a way to specify in which subdir should it start up?
> Robert

Kandur



More information about the Coco mailing list