in reply to Re^3: Using regex to separate parameters
in thread Using regex to separate parameters

'c:\foo' is not recognized as an internal or external command,

this error message occur because you type this manually in cmd.exe

in cmd.exe this will work:
foo.exe bar
if "foo.exe bar.exe" exists in the %path%

this was not my question, thanks anyway

Replies are listed 'Best First'.
Re^5: Using regex to separate parameters
by ikegami (Patriarch) on Jul 06, 2008 at 18:17 UTC
    No, it won't.
    >foo.exe bar 'foo.exe' is not recognized as an internal or external command, operable program or batch file. >"foo.exe bar" Hello World