Hi
I'm not sure if this can be done and I've had a look through the forums without luck.
I'd like to run mircstats from a tcl script. I know about the exec command but I've got a windrop so at the moment I can't get it to run because I use Windows. Does anyone know how to do this, or is it just not possible?
Using \ as teh first character of the location, is the same as giving the full path.
You bot will most likely be looking in "c:\mircstats\mircstats.exe".
The first characters lets the interpreter know what location you are looking in. Seeing as you are looking in a directory uinder the bots directory, you simply drop the first \
The bot is in
f:\documents and settings\simon\my documents\windrop
and mircstats is in
f:\documents and settings\simon\my documents\windrop\mircstats\mircstats.exe
The $text is fine where it is. If you failed to understand what he said, then you might as well forget what he said.
The "can't duplicate input handler" messages, is generated mainly of windows systems, and is usualy a sign that it was able to execute the program (IE, it worked) but it failed to do some internal tasks.
There is not much else you can do, though, you could try creating a .bat (MSDOS batch program) to launch mircstats, and load the batch file instead.