Link to home
Start Free TrialLog in
Avatar of henry3
henry3

asked on

How to make sure if a path string is existence or not?

Hi,mem
  When I got a input path sring, how can I make sure if it is existence or not ?
  Is there a MFC member function ?
  How can I do it?
  Looking forward your suggestion.
ASKER CERTIFIED SOLUTION
Avatar of Todd_Lindberg
Todd_Lindberg

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of henry3
henry3

ASKER

Hi,todd
   Thanks for your advice.
   But CFile::GetStatus function can not distinguish folders between files. As I said , in fact I wanna consider a file as a inexisting path (or folders) .
Because I want to send some files to the folder, sending a file to file will turn to a ERROR.
   May be I don't express my Qestion exactly. But
How can I get the above purpose?
   After all, your answer is helpful.