Runnig batch files remotely

Hi,

This question is not directly about FB, if you think it’s in the wrong place, please move it.

I’m using PSexec to run a batch file on a remote server, this batch files calls an exe file with parameters. When I run the batch file locally it opens a DOS window which opens another DOS window for the exe file. These windows are important to see logs. I want these DOS windows to open when I start he batch file remotely but for some reason they don’t. Do you know any way to accomplish this? I even tried to set up a scheduled task with FB but the Scheduled task doesn’t open a batch window either! (In both cases the exe file loads in the memory)

Can anybody help?

Thanks in advance,
NirS

Hi Nir,

psexec has a -i option which allows the program to be run interactively with the remote user’s desktop.

hth.
.t8