Thread: C++ File Path

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    38
    Rep Power
    12

    C++ File Path


    How could I go about getting a file's path with only the filename in Visual C++?
  2. #2
  3. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    USA
    Posts
    7,145
    Rep Power
    2222
    The _getcwd function will get you the full path of the current working directory for the default drive.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    38
    Rep Power
    12

    File path


    I found something else that is working very well, but Thank You very much!

IMN logo majestic logo spyfu logo threadwatch logo seochat tools logo