Home All Groups Group Topic Archive Search About

very very simple question

Author
5 Feb 2007 12:08 PM
xxxx
hi,

i was wondering if u can help with the following

how can i figure out that a given path, represents a file or folder

Author
5 Feb 2007 12:32 PM
Kevin Spencer
if (System.IO.File.Exists(path))...
if (System.IO.Directory.Exists(path))...

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

The shortest distance between 2 points is a curve.

Show quote
"xxxx" <xxxxl***@gmail.com> wrote in message
news:1170677296.598140.28400@k78g2000cwa.googlegroups.com...
> hi,
>
> i was wondering if u can help with the following
>
> how can i figure out that a given path, represents a file or folder
>

AddThis Social Bookmark Button