Re: could not execute psexec

2009-12-09 Thread C.DeRykus
On Dec 7, 9:11 pm, perl...@gmail.com (Perl Pra) wrote: > Hi All, > > I have done the following. > > printed the cmd variable and check what actually got passed. If I copy paste > the printed command on dos prompt it worked fine. > > I think its not intallation issues as I could execute the command

Re: could not execute psexec

2009-12-07 Thread Bob goolsby
Note the last-but-one line that I quoted from the PSexec Doc: "Just copy PsExec onto your executable path. " I strongly suspect that you are NOT running the same environment in Perl as you are when you run from the command line. Check your PATH variables and fix your installation to inclu

Re: could not execute psexec

2009-12-07 Thread perl pra
Hi All, I have done the following. printed the cmd variable and check what actually got passed. If I copy paste the printed command on dos prompt it worked fine. I think its not intallation issues as I could execute the command from the dos prompt. Thanks, siva On Tue, Dec 8, 2009 at 1:02 AM,

Re: could not execute psexec

2009-12-07 Thread Bob goolsby
Funniest thing -- when I run psexc from the command line I get: C:\Documents and Settings>psexec 'psexec' is not recognized as an internal or external command, operable program or batch file. C:\Documents and Settings>psexec.exe 'psexec.exe' is not recognized as an internal or external command,

Re: could not execute psexec

2009-12-07 Thread C.DeRykus
On Dec 7, 4:29 am, perl...@gmail.com (Perl Pra) wrote: > Hi All, > > I need to execute "*psexec.exe"* which is in C:\Windows\system32 through > perl scirpt. > .I am getting  the error "*'psexec' is not recognized as an internal or > external command,operable program or batch file"* > > Below is the

Re: could not execute psexec

2009-12-07 Thread Robert Wohlfarth
On Mon, Dec 7, 2009 at 6:29 AM, perl pra wrote: > Hi All, > > I need to execute "*psexec.exe"* which is in C:\Windows\system32 through > perl scirpt. > .I am getting the error "*'psexec' is not recognized as an internal or > external command,operable program or batch file"* > [snip] > my $cmd=

Re: could not execute psexec

2009-12-07 Thread Shlomi Fish
On Monday 07 Dec 2009 14:29:28 perl pra wrote: > Hi All, > > I need to execute "*psexec.exe"* which is in C:\Windows\system32 through > perl scirpt. > .I am getting the error "*'psexec' is not recognized as an internal or > external command,operable program or batch file"* > > Below is the perl