#1
|
|||
|
|||
Executing remote commands
I am trying to run a command on a remote machine using PsExec (PsExec.exe in C:\Windows\System32\ on local computer) & the Remote tab feature.
I have created a bat file on \\xyzmachine\ called c:\abc\test.bat, which has a single command: md C:\testfolder. I created a build script which should run this bat file on xyzmachine. I also logged the command being used in this step, which is PsExec \\xyzmachine -u xyz -p xyz cmd /c c:\abc\Test.bat Running this command on the command line on my machine just works fine and it creates a folder on the remote machine. But when I run it using the build script, though the folder is created on the remote machine as desired but it does not exit the step in the build script. Am I doing something wrong? Thanks, Pragya |
#2
|
|||
|
|||
Also, this works fine when tested on the local computer. the step completes successfully after creating the folder.
Thanks, pragya |
#3
|
|||
|
|||
Not sure. Try using v6.2 and
http://www.visualbuild.com/Manual/programremotetab.htm If that doesn't help, please ZIP and send or post: 1) The info from Help | About | Install Info 2) The Windows version+SP of the remote computer 3) A reproducible test case (.bld file that can be built here and reproduces the problem) 4) A build log file Thanks. |
#4
|
|||
|
|||
Thanks! I had 6.1 on my machine, upgrading it to 6.2 solved the problem.
thanks again! |
|
|