Subj : .JS as a Command Shell To : art From : echicken Date : Wed Nov 18 2009 10:58 am Re: .JS as a Command Shell By: art to All on Wed Nov 18 2009 13:43:09 > documentation or past messages: how would one go about setting a .JS file as > command shell? > Does this involve making a BAJA "shell" just to call the .JS? Yes, that's how you do it. Add your command shell via SCFG, assign it a name and an internal code, then create a Baja stub that will call your JS. Name the Baja file after your shell's internal code (if you used the internal code "SHELL" then your Baja file should be "SHELL.SRC".) Your Baja stub need only contain one line to call the JS shell, so if your shell JS is shell.js, your Baja would be 'exec "?shell"'. ec --- þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com .