cmd: Fix basic cmd.exe /c "echo hello" type syntax.
commit88f14bb59045e1d8c8bb0a71abb50f505620c420
authorJason Edmeades <jason@edmeades.me.uk>
Mon, 1 Oct 2012 23:35:47 +0000 (2 00:35 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 2 Oct 2012 12:08:36 +0000 (2 14:08 +0200)
tree32606bb950159a9dea0c95bd69e729935c177395
parentb1dacc6c379ede878b5740a8ab5df635538b6e14
cmd: Fix basic cmd.exe /c "echo hello" type syntax.

Add checks for existance of command to run in order to keep the
new quote handling capabilities of cmd.exe /C or /K. If the command
cannot be found, drop back to /S processing mode as per cmd.exe help.
programs/cmd/tests/test_builtins.cmd
programs/cmd/tests/test_builtins.cmd.exp
programs/cmd/wcmdmain.c