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