I am trying to get Toad Data Point to run a batch file which is located and runs on a remote machine. I am using PowerShell tools to do so. So if I type ‘psexec \[Server Name]\C$\hds\RUNME.bat’ into a command prompt then it runs successfully (running the batchfile on the remote machine).
When I copy this command into a batch file on my local machine and call it using ‘Run’ in TDP automation it keeps failing saying PsExec is not recognised and an internal or external command.
I have tried multiple variations using the full command line to psexec, trying to luanch psexec directly in TDP automation and even mapping a drive to my remote machine but they all fail in a similar way.
Does anyone have an idea how I can achieve this? I’m convinced it’s a syntax thing but I’m completely baffled.