Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #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
  #2  
Old 10-04-2006, 06:27 PM
pjaiswal pjaiswal is online now
Registered User
 
Join Date: 01-26-2006
Posts: 30
Also, this works fine when tested on the local computer. the step completes successfully after creating the folder.

Thanks,
pragya
Reply With Quote
  #3  
Old 10-05-2006, 10:00 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
  #4  
Old 10-05-2006, 02:01 PM
pjaiswal pjaiswal is online now
Registered User
 
Join Date: 01-26-2006
Posts: 30
Thanks! I had 6.1 on my machine, upgrading it to 6.2 solved the problem.

thanks again!
Reply With Quote
Reply


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 06:12 PM.


Copyright © 1999-2023 Kinook Software, Inc.