cmd.exe: Don't treat explicit paths as a PATH search list.
commita19a770f96ca1b09c4bef449c082b7da38964dca
authorGabriel Ivăncescu <gabrielopcode@gmail.com>
Tue, 5 May 2020 13:10:37 +0000 (5 16:10 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 6 May 2020 17:53:01 +0000 (6 19:53 +0200)
tree68d0a75ec8d4d36edf190cc95d524efd531ccbf0
parentd784de82c835321111a0e2d637e34757a8aed1fd
cmd.exe: Don't treat explicit paths as a PATH search list.

For example, the explicit path "C:\some;path" is currently treated as if
the PATH environment variable is "C:\some;path" which is obviously wrong,
and searches for the directories "C:\some" and "path".

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
programs/cmd/wcmdmain.c