Find what directory the running process EXE is stored in [duplicate]

GetModuleFileName or GetModuleFileNameEx.

Leave a Comment