|
Answer» Good afternoon-
Can a batch file that resides on another server be executed from DIFFERENT machine? I have a batch file that resides on a server that I would like to run using SQL 2005 Integration Services. Is there anything I can do that would ALLOW me to remotely execute this batch file and have it run in that environment.
Here is the batch file:
cd C:\Trandev\ otrun -at OTRecogn.att -DINPUT_FILE=%1 -tl 1 -CS dv -lg mylog -I
I have tried mapping the remote machine to a network drive on my local machine and using that drive to execute the batch file, but it does not work
Any help would be appreciated.
My COMPUTER is a HP Compaq dc7100, 512mb RAM, WindowsXPMy suggestion would be to create a scheduled task on the remote machine (disabled).
Then you can remotely start the scheduled task as required (schtasks /RUN /? for more info)
It's pretty easy.You can use SchTasks.exe or At.exe or DOWNLOAD "soon.exe" from the Microsoft resource kit.
|