Space in remote command


Space in remote command

Author
Message
soundmanbe
View Quick Profile

Supreme Being
Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 24, Visits: 51
Dear Yury,
We are trying to use some remote command "psexec.exe like" with some space in the command.
EX:  REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment"
The REG QUERY works perfectly until you have some space character in the QUERY.
We have try with "" '' \/ etc ... no way, the result is
ERROR: Invalid syntax.
Type"REG QUERY/?" for usage.

Do you have any idea to solve it?
Thanks in advance.
Kind regards,
Pierre





soundmanbe
View Quick Profile

Supreme Being
Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)Supreme Being (1.5K reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 24, Visits: 51
Any feedback ?
Pierre

Yury Averkiev (s-code)
View Quick Profile

Supreme Being
Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)Supreme Being (193.8K reputation)

Group: Administrators
Last Active: 3 days ago @ 6:45 PM
Posts: 1.9K, Visits: 3.5K
I did tried once to figure out what escape characters sequence could be used to pass a command with spaces; I didn't succeed. I'll give it another try.

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Kindest Regards,
SmartCode Solutions Support


Similar Topics


Reading This Topic