CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Getting EXE and PATH names at runtime

    Can any one tell me if it is possible and how to get the path from where an EXE was executed, and the name the EXE. All of that at runtime.

    Any help would be appreciated!


  2. #2
    Join Date
    Apr 1999
    Posts
    3

    Re: Getting EXE and PATH names at runtime

    Use "GetModueFileName" Win32 API to get the complete path of the EXE from which the application was launched. Once you gor the complete path you can devide it to get the Name and Path separately.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured