in reply to Windows System Command

Backslash escaping spaces in command paths won't work. By the time the string is passed to the shell, the backslashes will have disappeared and the command processor will see the first half of the path as the command and the second half as an argurment.

Try it this way:

system q[ "C:\\Program Files\\HP Remote System Management\\hprsmcli" - +s 143.207.48.60 -u getinfo -p pass];

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Replies are listed 'Best First'.
Re^2: Windows System Command
by Ransom (Beadle) on Jun 26, 2012 at 15:37 UTC
    This is working! I guess I had really hacked up what I was reading around the net. Hindsight says that strings sent to the system don't need spaces slashed, and using q[] is useful for enclosing an entire line in quotes which may contain quotes already. :P Thanks for the quick, accurate response ++!