Patch for better command line parsing
Brought to you by:
talhatariq
This patch fixes the remote command argument parsing function to ensure that any arguments are passed on unchanged.
Also a declaration for a variable that was declared inside a for loop but used outside that for loop has been moved outside the for loop so VC++ 8 can be used to compile the code.
Fixes remote command argument parsing