Check if a file or directory exists in VB.NET/ASP.NET
To check to see if a file exists use :-
IO.File.Exists("d:\someFileName.txt")
To check to see if a directory exists use :-
IO.Directory.Exists("c:\myFolder")
Thanks to http://www.vbforfree.com/?p=180 for this tip
| < Prev | Next > |
|---|
