Subj : Tickit calling AddFiles.exe
To   : Gringo
From : Digital Man
Date : Thu Oct 01 2020 12:21 pm

 Re: Tickit calling AddFiles.exe
 By: Gringo to Digital Man on Thu Oct 01 2020 11:14 am

>   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 :)

Is the environment variable set for the entire system or just a specific user?
Even if the SBBSCTRL environment variable isn't set, the latest versions of addfiles should run so long as sbbs was installed in "/sbbs".

You can run some experiments, like ;shell from the BBS and type "echo %SBBSCTRL%" - I would expect that to work. Or create a simple one line module (e.g. mods/getenv.js) to dump the environment and run it via jsexec:
       print(JSON.stringify(env, null, 4));
to confirm you see "SBBSCTRL" in its output.

                                           digital man

Synchronet "Real Fact" #91:
Captured chat with Wayne Bell: http://wiki.synchro.net/history:waynebell_chat
Norco, CA WX: 97.5�F, 17.0% humidity, 2 mph NW wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net