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..
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,025 |
Nodes: | 17 (0 / 17) |
Uptime: | 07:12:10 |
Calls: | 502,209 |
Calls today: | 14 |
Files: | 104,441 |
U/L today: |
1 files (1,436K bytes) |
D/L today: |
24,591 files (7,843M bytes) |
Messages: | 300,022 |
Posted today: | 4 |