Herman,
You probably do not need to be running a continuous batch file
processor. Just include the script launching behavior in your AFL.
I know that more OLE is the last thing you want. But, it may simplify
your setup.
e.g.
Filename = "jstest.js";
Handle = fopen(Filename, "w");
fputs("WScript.Echo(\"Hello Herman.\");", Handle);
fclose(Handle);
Shell = CreateObject("WScript.Shell");
Shell.Run(Filename, 0, true);
fdelete(Filename);
The run command is defined here http://msdn.microsoft.com/en-
us/library/d5fk67ky(VS.85).aspx
Mike