Posted by Jame on July 29, 1999 at 14:52:25:
In Reply to: Proj3 - Reading Directories posted by Neil on July 29, 1999 at 13:10:27:
: I have been trying to get the test program to read
: from various directories and have been having trouble.
: It seems pretty random that sometimes when I enter a
: directory it works and sometimes it doesn't. For
: example if I enter the path "c:", "c:\download" or "e:" it
: works fine. However when I enter any directory on my F
: drive(where my program is located) including the root
: I only get results for the working directory. Does the
: path that you enter have to be in a specific format?
: Is there something that I am missing?
May be you can try path name "c:\\download" instead of "c:\download" to the paramater of Directory class.
Also check with "project\setting\Debug\Working Directory " in visual stadio c++ working enviroment to set the current working directory if you want to
use ".." as the parameter.