Hi all,
I found my problem with tickit not calling addfiles.exe correctly in Windows 10.
Everytime the .exe is called from tickit.js, the output is :
SBBSCTRL environment variable not set.
So i thought it would be an easy fix to just issue a setx sbbsctrl = \sbbs\ctrl.
But that did not do the trick.
I tried creating a batch file which would issue a set SBBSCTRL before calling addfiles.exe, i still get the same error message.
I also modified the JS to issue a process.env call to set the environment variables before the call.
I am not a JS expert but it looks as if Javascript is not using the environment variables.
Any ideas ?
SBBSCTRL environment variable not set.
So i thought it would be an easy fix to just issue a setx sbbsctrl = \sbbs\ctrl.
I also modified the JS to issue a process.env call to set the environment variables before the call.
Did you read this: http://wiki.synchro.net/config:env ?
things are restarted. I vaguely recall doing this via System Properties long ago.Thanks eChicken,
We don't have process.env here, so I imagine that generated an error.You are right, it generates an error :)
Re: Tickit calling AddFiles.exe
By: Digital Man to Gringo on Wed Sep 30 2020 04:25 pm
Did you read this: http://wiki.synchro.net/config:env ?
Hi Digital Man,
Thanks! i read the wiki article, and the environement variable is correctly set in Windows. Addfiles runs correctly from the command line, but not from Javascript. I keep getting the SBBSCTRL is not set.
Thanks for your help guys :)
Sysop: | Xerxes |
---|---|
Location: | Azle, Texas |
Users: | 131 |
Nodes: | 10 (0 / 10) |
Uptime: | 94:25:17 |
Calls: | 3,190 |
Calls today: | 1 |
Files: | 195 |
U/L today: |
0 files (0K bytes) |
D/L today: |
0 files (0K bytes) |
Messages: | 366,142 |
Posted today: | 0 |