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: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,055 |
Nodes: | 17 (1 / 16) |
Uptime: | 00:39:29 |
Calls: | 501,024 |
Calls today: | 11 |
Files: | 109,384 |
D/L today: |
2,216 files (186M bytes) |
Messages: | 304,876 |
Posted today: | 1 |