Re: [Dev-C++] how to check that a directory path exists?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jakob E. <mai...@ko...> - 2005-02-04 10:09:32
|
If it's platform independence your looking for you could try PhysicsFS. =20 I've never used it myself (but I've heard good things about it) so I don'= t =20 know if it can do what you want it to but it is a file-management library= =20 so It probably can. http://icculus.org/physfs/ /Jakob Eklund Den 2005-02-03 16:25:49 skrev Guillermo Gutierrez =20 <ggu...@ma...>: > hello, I have not had too much luck finding a way to verify whether a =20 > directory path exists without using the WIN32 API calls. I need to chec= k =20 > for the existence of a two directories in two different drives to see =20 > which path exists. > Ex: The following are directories that I want to check for. > 1. C:\FolderOne > 2. D:\FolderOne > 3. C:\FolderTwo > 4. D:\FolderTwo > > I want to take which ever one exists, because I know for a fact that =20 > only one of these will be valid and exist. > > how can I do that without using WIN32 API calls or would it better to =20 > use the API calls? > thanks in advance, > > Guillermo Gutierrez > Market Scan Information Systems > Software Q.A. Supervisor > (818) 575-2000 x2427 > ggu...@ma... > |