wine's argv[0] and current directory

Alexandre Julliard julliard at
Sun Jul 22 13:45:31 CDT 2007

Vitaliy Margolen <wine-devel at> writes:

> First of all there are extensive tests for this in kernel32 process
> test. Which shows exactly opposite from what you stated here - windows
> does support use of unix path.

That's true for apps started from another Win32 process; in that case
we clearly cannot mess with argv[0]. For apps launched from the Unix
command line we do have a bit more freedom, and setting argv[0] to a
full Windows path is certainly feasible.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list