Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-04-2006, 06:15 PM
pjaiswal pjaiswal is online now
Registered User
 
Join Date: 01-26-2006
Posts: 30
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
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:12 AM.


Copyright © 1999-2023 Kinook Software, Inc.