Remote DOS batch file to be executed locally
Last answer on Nov 5, 2008 1:59:27 pm GMT iaw1978, on Oct 31, 2008 5:19:53 pm GMTHello,
I've run into a situation where I have a batch file stored on server (on the E:\reports\ of the server), which is shared mapped on each workstation as R:\ ... in this folder I have a batch file I've created which I want to be executed on the workstation which executes it, however when I execute the batch file remotely, it is executed as though it is being executed locally on the server ... for example, batch file is executed:
cd C:\Program Files\SomeDir
report.exe
so when it tries to execute cd C:\Program Files\SomeDir, it does this on the server, rather than on the workstation, then report.exe is unrecognized because this doesn't exist on the server and is supposed to be executed on the workstation ... is there a way to execute these commands on the workstation even though the batch files resides on the server?
Thanks!
Configuration: Windows XP

