From
Digital Man@VERT to
Mindless Automaton on Fri Mar 9 13:38:40 2007
Re: Son of a Batch(file)ã By: Mindless Automaton to DOVE-Net.Programming_(Jav on Fri Mar 09 2007 11:42 amãã > I scripted up my maintenance batch file into a js file. :oã > ã > I use this line:ã > ã > system.exec(bredir + "BRE PLANETARY");ã > ã > However, I think a lot of these doors need to be executedã > in their installed directory. So I guess I'd need to doã > something like:ã > ã > system.exec("cd " + bredir; "BRE PLANETARY");ã > ã > so it changes to the game directory and then executes?ã > ã > Anyhow, what, if there is any, is the correct way to stackã > commands in system.exec?ã > ã > Ie. system.exec(command1;command2;etc.); ?ã > or: system.exec("cd " + bredir + "\nBRE PLANETARY");ã > Or am I dreaming and should stick with a regular batch file?ã > ã > I'll have to try \n and see..ããWindows uses && to "stack" command in a single command-line. You'd probably beãbetter off using a timed event and specifying the correct Startup Directory inãthe configuration of that event in SCFG.ãã digital man (xbox-live: digitlman)ããSnapple "Real Fact" #150:ãThe first sport to be filmed was boxing in 1894.ãNorco, CA WX: 93.0øF, 25% humidity, 0 mph SE wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã