I'd go with https://code.jsoftware.com/wiki/Guides/Standalone_Applications for running J from the command line.
Also, 1!:43 queries current directory and 1!:44 changes it http://www.jsoftware.com/help/dictionary/dx001.htm -- those don't get much use, though, since usually it makes more sense to just use absolute references. Some shortcuts for absolute references include: jpath '~home' jpath '~user' jpath '~temp' Basically tilde expansions by jpath get you access to the paths listed in SystemFolders_j_ (and UserFolders_j_). I hope this helps, Thanks, -- Raul On Wed, Mar 27, 2019 at 5:25 PM Kevin Wang <[email protected]> wrote: > > I am new to J and am trying to figure out how to find the directory my ijx > is running in and how to change it. I have looked in the Foreigns vocab > section and thought it would be better to ask now instead of scrambling all > over the wiki. > > Also, how can I run an ijs script file from the command line, either a > Windows command prompt or a Bash terminal? > > Thanks, > Kevin Wang > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
