Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: How to execute windows dos command using perl and how to login to another windows machine and execute dos command in that

by Divakar (Sexton)
on Sep 25, 2012 at 08:02 UTC ( #995504=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to execute windows dos command using perl and how to login to another windows machine and execute dos command in that
in thread How to execute windows dos command using perl and how to login to another windows machine and execute dos command in that

thanks for the help. now i can able to execute. but i face some issues. any idea.

C:\>psexec \\vm-ntdivakar2 cleartool mount -all
it returned error code.
\ui is already mounted. \wpg is already mounted. cleartool exited on vm-ntdivakar2 with error code 1.
So i got full pathname from the remote machine.
C:\>psexec \\vm-ntdivakar2 which cleartool PsExec v1.98 - Execute processes remotely Copyright (C) 2001-2010 Mark Russinovich Sysinternals - www.sysinternals.com C:\Program Files (x86)\Rational\ClearCase\Bin/cleartool.exe which exited on vm-ntdivakar2 with error code 0.
Then executed. but still it is returning error code.
C:\>psexec \\vm-ntdivakar2 "C:\Program Files (x86)\Rational\ClearCase\ +Bin/cleartool.exe" mount -all \ui is already mounted. \wpg is already mounted. C:\Program Files (x86)\Rational\ClearCase\Bin/cleartool.exe exited on +vm-ntdivakar2 with error code 1.


Comment on Re^3: How to execute windows dos command using perl and how to login to another windows machine and execute dos command in that
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995504]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-09-23 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (213 votes), past polls