xcopy / cmd question (lack of real exe in system32)

Alexandre Julliard julliard at winehq.org
Fri Mar 23 05:20:15 CDT 2007

Jason Edmeades <us at edmeades.me.uk> writes:

> The installer I was fiddling with which caused me to write xcopy
> actually uses (effectively) "cmd.exe /c xcopy....". The fact I cant
> run a wine supplied program from within another portion of wine was
> what concerned me. I was trying to understand how wine locates it,
> given that CreateProcess doesnt find it (nor SearchPath).
> IF the answer is that we need fake dlls, we probably need to ensure we
> do it for any exe from the wine 'programs' branch.

No, cmd.exe should be fixed to be able to run a builtin exe even if
the file is not found in the path. CreateProcess is able to do that
already, so it's probably just a matter of not bailing out when
SearchPath fails.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list