Jason Edmeades us@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.