extending Run$Path
John Rickman (71) 646 posts |
I have some scripts which define new commands. They are in a directory jr.bin.
It works but I fear that messing about with the run path is likely to cause grief. |
Stuart Swales (8827) 1357 posts |
That’s what I intended the user to do! |
Stuart Painting (5389) 714 posts |
Page 512 of the RISC OS 5 User Guide contains a suggested method of extending Run$Path, essentially the same as the method you are using (but with a little tweak to ensure the directory only gets added once). |
André Timmermans (100) 655 posts |
I thought there was an AddPath utility, but on checking it’s only available in RISC OS Select. |
John Rickman (71) 646 posts |
That is reassuring. I could not quite believe it could be so simple. |
John Rickman (71) 646 posts |
Thanks for that warning. It is more than possible that my obey file would get to be run multiple times as I am still actively |