• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

How to tell if a path exists?

How can I tell if a particular path exists?  I don't want to know about any files in the directory, only if the directory exists...

Thanks...
0
rmmarsh
Asked:
rmmarsh
  • 2
1 Solution
 
dunglaCommented:
Use Directory.Exist(path) to check a particular path exists or not
0
 
dunglaCommented:
Opps correct syntax: Directory.Exists(string path)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now