| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Question |
Hello IB, On Wed Sep 27 2017 14:17:24, IB JOE wrote to Mike Fenton: IJ> Okay... read the doc a little... IJ> if I were to write a batch file, not saying I am, I'm just saying... IJ> :start IJ> cd\bbs\node%wcnodeid%\ IJ> c:\bbs\stuff\something.exe config.%wcnodeid% IJ> :Stop IJ> Batch file would run, and if the user was on node 3, it would change IJ> the user to the directory \bbs\bode3\ and exicute an exe the IJ> something.exe file with config.3 bedide it.... I don't even think this could be done with any BBS software unless you actually pass that node number to the batch file from the BBS itself. IJ> ergo, IJ> :start IJ> cd\bbs\node%%3% IJ> c:\bbs\stuff\something.exe config.%%3% IJ> :stop If you were to execute that batch file from Mystic, run "batchfile.bat %3" from the data line. That will pass the node number. Then use %1 in your batch file where you want that parameter. IJ> I am not sure if I explained myself correctly... IJ> I'm looking for environmet variables that I can pull up in a batch IJ> file. This might be a parameter that sends out the node number... As long as the batch file is executed by Mystic, the answer is: Yes. You can pass parameters to a batch file. IJ> good enough... I can add some lines in a batch file if need be and IJ> create my own. Looks like you've already answered your own question without waiting for an answer? Why bother posting the question then? Regards, Nick ... "Не знаю. Я здесь только работаю." --- GoldED+/LNX 1.1.5-b20170303* Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10) SEEN-BY: 15/0 34/999 90/1 116/18 120/331 123/140 130/20 140/1 218/700 220/60 SEEN-BY: 230/150 240/1120 249/303 250/1 261/38 100 266/404 267/155 280/1027 SEEN-BY: 282/1031 1056 292/140 908 320/119 219 340/400 393/68 75 396/45 SEEN-BY: 633/267 280 640/384 712/620 848 770/1 801/161 189 2320/100 105 SEEN-BY: 3634/12 5020/1042 @PATH: 154/10 203/0 266/404 261/38 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.