1
Answer

c code to get path of any executable install in

sunil

sunil

11y
1.1k
1
Hi,

i want a c  code to get the  complete path of any executable(.exe) install in the windows system drives ,like cmd .exe or any user  created exe .

i try with windows API. GetModuleFileName() but it is giving me the location of currently executing exe location .


plese help me as soon as possible

Thanks

Sunil
Answers (1)