Perhaps simpler: myrun_z_=: 3 : 0 load wd'mb open1 run . "*.ijs"' )
But there are better options. The IDE is primarily a development environment, so nearly always you want to open source for editing and testing. There are various ways to do this, but the main and recommended method is to use the editor with projects, see code.jsoftware.com/wiki/Guides/Folders_and_Projects. A few minutes spent learning this will save a lot of time. If you just want to run a script somewhere on the system, then rather than spending time navigating up and down directories to look for it, try one of: * add the script to the Launch Pad * create a desktop shortcut that loads J with the script as parameter * create a script with your favorite "load xxx" commands. Open this and run the required line. * use projects and the project run buttons. On 2 October 2016 at 03:40, bill lam <bbill....@gmail.com> wrote: > You can define a verb in startup.ijs to choose and run scripts > > myrun_z_=: 3 : 0 > empty (libjqt, ' immexj + n *c')&cd <'0!:100<', quote wd'mb open1 run . > "*.ijs"' > ) > > Also the verb can be binded to a function key in the ide, > see menu Edit>configure>user keys > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm