Nelgin wrote to Bill McGarrity on 02-17-18 14:53 <=-ãã Ne> On Fri, 16 Feb 2018 20:26:48 -0500, "Bill McGarrity"ã Ne> <bill.mcgarrity@VERT/TEQUILAM> wrote:ãã >Hello Rob!ã >ã >I'm trying to add a 'Clean-Up Command' to a door that will run a batch fileã >to update some ANS screens. In the wiki it says that option can only run aã >.js or .bin file. I'm great creating batch files but don't have a clue onã >how to write a .src file that I can use baja on.ã >ã >There are a total of 6 different doors that have to run a batch fileã >specifically written for each game therefore I amã >assuming I'd need 6 different .src files pointing towards each gamesã >directory where the unique batch files areã >sitting.ã >ã >Now how do I go about whipping something up? Do I need to use any !includeã >statements? Do I use an 'EXEC_XTRN <.bat>'ã >command within the src file? As you can probably tell, I'm a tad over myã >head here.ãã Ne> Why not create a batch file and call it as a timed event and have itã Ne> run the clean up commands. Then all you have to worry about isã Ne> executing the bat file.ããI had wrote a batch file. Problem was I originally used ../xtrn/doorname/.batãas the command. It seems it prefers the entire path. :)ãã Ne> You don't say if you're on Windows or linux but on Windows it shouldã Ne> be trivial, on linux it might even be easier to write a shell scriptã Ne> that calls dosemu and then runs your cleanup, if that's what isã Ne> required.ããIt's fixed.. thank you..ããã--ããBillããTelnet: tequilamockingbirdonline.netãWeb: bbs.tequilamockingbirdonline.netãFTP: ftp.tequilamockingbirdonline.net:2121ãIRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697ãRadio: radio.tequilamockingbirdonline.net:8010/liveããã... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!ã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
MRO wrote to Bill McGarrity on 02-17-18 17:54 <=-ãã MR> Re: src fileã MR> By: Bill McGarrity to Digital Man on Fri Feb 16 2018 08:26 pmããã > I'm trying to add a 'Clean-Up Command' to a door that will run a batch fileã > to update some ANS screens. In the wiki it says that option can only run aã > .js or .bin file. I'm great creating batch files but don't have a clue onã > how to write a .src file that I can use baja on.ãããã MR> you can run a batchfile as the cleanup command.ã MR> can you link to the wiki page that says this please.ãã > statements? Do I use an 'EXEC_XTRN <.bat>'ã > command within the src file? As you can probably tell, I'm a tad over myãã MR> you can actually use exec_int but dont do thatãã MR> sometimes i do cleanup commands in the actual doorgames' batchfileã MR> before everything runs because there are false inuse.flg files orã MR> whatever. ---ãããIt's resolved. Didn't like the shortened path in the clean-up command section.ãUsed the ful path and it's working.. :)ããThanks..ããã--ããBillããTelnet: tequilamockingbirdonline.netãWeb: bbs.tequilamockingbirdonline.netãFTP: ftp.tequilamockingbirdonline.net:2121ãIRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697ãRadio: radio.tequilamockingbirdonline.net:8010/liveããã... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!ã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
Sysop: | Karloch |
---|---|
Location: | Madrid, Spain |
Users: | 52 |
Nodes: | 8 (0 / 8) |
Uptime: | 53:46:32 |
Calls: | 715 |
Files: | 17,895 |
D/L today: |
2 files (10,523K bytes) |
Messages: | 65,411 |