Subj : weird js thing...?
To   : All
From : Esc
Date : Sun Sep 06 2009 08:53 pm

 Re: weird js thing...?
 By: Esc to All on Sun Sep 06 2009 08:30 pm

> bbs.menu.baja("setstr *.*" + "\r\n" + "file_list");
>
> The bbs tries to run baja /sbbs/exec/temp_1.src, and then launch that file.
>
> I have no temp_1.src.  I am running 3.15 as of today, and this file is nowhe
> to be found.  Ideas?  :)
Well, as it turns out...
Here is exactly what happens when I run the aforementioned in js..:

Node 1 Executing external: baja /o temp_1.src
Node 1 Executing external: *temp_1
Node 1 !ERROR 2 [WinError 2] in exec.cpp line 724 opening
"c:\sbbs\exec\temp_1.bin" etc etc etc

However, while on the telnet node, before acknowledging the error by pressing
enter, I noticed that the temp_1.src file actually _does_ exist.  So my
understanding is that the bbs.menu.baja creates a small baja file, compiles it,
and executes it on the spot.

HOWEVER, I don't have the temp_1.bin file...so obviously, synch is not creating
that file.  It may be some goofy virus protection I have not allowing baja to
be launched from some other program (thoughts?).  I'm still working on this.

---
� Synchronet � My Brand-New BBS (All the cool SysOps run STOCK!)