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

    Program that can open files from different folders

    My program uses boost filesystems. When it is run, the first thing it does is create a main directory in c:\. Then it asks for a project name, and creates project folder. Then you can add or remove files from your project folder. Then all the files in the project folder are read, and when I' done can be batch processed.

    The problem is that my function to read files only works if the files are located in my visual studio project folder. I need to somehow compile my program so that it can read files from any location. How do I do this?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    Re: Program that can open files from different folders

    You have to use the full path names. Don't you?
    Victor Nijegorodov

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

By using this site, you agree to the Privacy Policy