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

Alexandre Julliard julliard at winehq.org
Sat Mar 24 06:58:25 CDT 2007

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

> Unfortunately I need to know if it's a console app or not, and hence call
> FindExecutable followed by SHGetFileInfo. These don't seem to report
> anything on the internal programs so I couldn't tell whether to wait for it
> to complete (eg xcopy) or let it run (eg notepad). 
> I'm patching it to assume worse case (run it synchronous) and just wait,
> unless you have any other suggestions, working on the theory this is a very
> rare case.

We could certainly fix SHGetFileInfo to do the right thing for
builtins, using the same method we use for GetFileVersionInfo.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list