Opening Directory

This is a discussion on Opening Directory within the Windows Programming forums, part of the Platform Specific Boards category; I am using MFC and I was wondering how would I open the folder which my program is located in?...

  1. #1
    DeathStar
    Guest

    Opening Directory

    I am using MFC and I was wondering how would I open the folder which my program is located in?

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    GetCurrentDirectory might be useful. GetModuleFileName is handy, too.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Couple errors please help :-D
    By JJJIrish05 in forum C Programming
    Replies: 9
    Last Post: 03-06-2008, 01:54 AM
  2. Opening all files in a directory
    By TKMan in forum C Programming
    Replies: 2
    Last Post: 11-11-2005, 12:27 PM
  3. Opening a directory with NtCreateFile
    By Lionel in forum Windows Programming
    Replies: 4
    Last Post: 09-09-2005, 04:34 PM
  4. Opening file in directory of the running program
    By Hankyaku in forum C++ Programming
    Replies: 6
    Last Post: 10-11-2003, 06:41 AM
  5. Opening files with a directory browser?
    By Labelizm in forum Windows Programming
    Replies: 2
    Last Post: 07-22-2002, 09:40 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21