[Dev-C++] how to check that a directory path exists?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Guillermo G. <ggu...@ma...> - 2005-02-03 15:32:01
|
hello, I have not had too much luck finding a way to verify whether a = directory path exists without using the WIN32 API calls. I need to check = for the existence of a two directories in two different drives to see = 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 = only one of these will be valid and exist. how can I do that without using WIN32 API calls or would it better to = use the API calls? thanks in advance, Guillermo Gutierrez Market Scan Information Systems Software Q.A. Supervisor (818) 575-2000 x2427 ggu...@ma... |