Path of my exe file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Maybe my question is trivial, but I need to get fullpath of my exe file where from it is executed esspecialy, when the directory with exe file is not current directory

Thanks.
 
Ivan said:
Maybe my question is trivial,

It is. :-)
but I need to get fullpath of my exe file where from it
is executed esspecialy, when the directory with
exe file is not current directory.

GetModuleFileName().

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top