The information in this article applies to:
SUMMARYUnder Win32s, GetCommandLine() includes the full drive/path of the executable, while under Windows NT GetCommandLine() does not include the full path. MORE INFORMATION
When programs are run from the Program Manager or the File Manager on
Windows 3.1, they are spawned using the full path. As a result, argv[0]
will have the complete path. When a Win32s application is spawned by a
16-bit application, Windows detects that the application is a Win32s
application. The full path is passed to Win32s regardless of whether or not
WinExec() was invoked with the full path. As a result, 32-bit applications
receive the full path.
Additional query words: 1.00 1.10 1.20 cmdline
Keywords : kbWin32s |
Last Reviewed: January 14, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |