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: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 113:26:38 |
Calls: | 162 |
Files: | 5,327 |
Messages: | 222,477 |