I mean get the path where exe file is located in
command(0) only get the name of the application
thanks
get application path?
Re: get application path?
Windows API function : GetModuleFileName
https://docs.microsoft.com/en-us/window ... dfrom=MSDN
https://docs.microsoft.com/en-us/window ... dfrom=MSDN
Parameters
[in, optional] hModule
A handle to the loaded module whose path is being requested. If this parameter is NULL, GetModuleFileName retrieves the path of the executable file of the current process.