Re: existence of path

Tech-Archive recommends: Fix windows errors by optimizing your registry



"William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx> wrote
in message news:OLBultIwGHA.976@xxxxxxxxxxxxxxxxxxxxxxx
"neo" <momer114@xxxxxxxxx> wrote in message
news:1155641799.940571.22460@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
How can I check existence of path in vc? I am working on
unmanaged C++
in vc2k5. The path can be file/directory path, or path
may not exist.

How can I identify of file and directory (folder) from
path (if exist)?

I see that Igor has already answered the question you
asked.

I'd like to add that IF the reason you need to check a
path's existence is to decide whether you need to create
it or not, then you can perform the operation in one fell
swoop with MakeSureDirectoryPathExists().


Or SHCreateDirectory[Ex], which can take Unicode paths.


.



Relevant Pages

  • Re: existence of path
    ... in vc2k5. ... The path can be file/directory path, ... How can I identify of file and directory (folder) from path? ... If not, then nevermind. ...
    (microsoft.public.vc.language)
  • existence of path
    ... How can I check existence of path in vc? ... in vc2k5. ... The path can be file/directory path, ... How can I identify of file and directory (folder) from path? ...
    (microsoft.public.vc.language)
  • Re: existence of path
    ... Alex Blekhman wrote: ... in vc2k5. ... The path can be file/directory path, ...
    (microsoft.public.vc.language)
  • Re: existence of path
    ... in vc2k5. ... The path can be file/directory path, ... GetFileAttributes ... With sufficient thrust, pigs fly just fine. ...
    (microsoft.public.vc.language)