title: How can I get the current instance's executable file name from native win32 C++ app?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/124886/how-to-get-the-application-executable-name-in-windows-c-win32-or-c-cli">How to get the application executable name in Windows (C++ Win32 or C++/CLI)?</a>  </p>
  </blockquote>
  
  
  
  <p>How can I get the current instance's file name &amp; path from within my native win32 C++ application?</p>
  
  <p>For example; if my application was
  c:\projects\testapps\getapppath.exe
  it would be able to tell the path is 
  c:\projects\testapps\getapppath.exe</p>