Ilansu
27th June 2002, 15:37
Hello all.

I'm trying to use the app.start() to execute a batch file on NT server but with no success.

The file supposed to use the bshcmd to send a message to a baan user -by PID (parameter -sent to the session to the file).
When I start the session on the server the message is sent ,
But when I’m trying to do that from a different station the batch file tries to send the message to a process on my station.

How do I make it look for the process ID on the server?

Thanks
Ilan S

evesely
27th June 2002, 16:03
You may want to use the run.prog() function in Baan rather than the app.start() function. run.prog is server oriented, wherease app.start is client oriented.

benito
27th June 2002, 22:10
I just tried it and it worked great.