Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

executable name from inside executable

Status
Not open for further replies.

txjump

Programmer
May 17, 2002
76
US
Hello everyone,

Say im running an exe file called abc.exe. how do i find out the name of the exe from inside the abc.exe?

thanks!
txjump
:)
 
thanks to both of you. :)

i should have mentioned that i needed a system function instead of an MFC or ATL call. so i will try GetModuleFileName.

txjump
[poneytails2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top