[Coco] Nitros9/Scripts question

Bill Nobel b_nobel at hotmail.com
Tue Dec 9 22:58:49 EST 2014


You could be right Robert, but every program you execute from a shell or a script, inherits the parent shells directory path. You lose paths of that process on termination, which revert back to parent.

Bill Nobel

> On Dec 9, 2014, at 9:48 PM, Robert Gault <robert.gault at att.net> wrote:
> 
> Kandur wrote:
>> Bill and Robert, thanks for the infos.
>> Then let's forget about OS-9 scripts, all I want is to avoid
>> typing in long path names of often used subdirs, when I want to
>> chd into them. Perhaps a small utility with a menu like this?
>> 1   dd/Coco/_Software/_OS-9/_OS-9_Utilities/Kwikgen
>> 2   d1/Media_Players/WD_TV_Media_Player_-_New_for_2014/WD_TV_2014
>> 3   d0/Coco/_Software/_CoCo_Controller_Software/LR-Tech/SUPER_BOARD
>> Just enter the number to go to that directory.
>> 
>> Kandur
> 
> There is a fair chance that you can use the os9 I$ChgDir call in a program, ml or Basic09, to use a list of directories. You may need to make the call twice if you don't have all the commands in the CMDS directory.
> Access modes can be set for read, write, update, and execute.
> 
> Robert
> 
> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list