1
Reply

c code to get path of any executable install in

sunil

sunil

Jan 25 2013 8:41 AM
1.1k
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)