views:

90

answers:

1

How does one retrieve ( or resolve, for that matter ) the absolute and relative ( FullPath and OriginalPath fields ) paths of FileSystemInfo/DirectoyInfo/FileInfo instances ? I'm trying to get the paths of the files/directories returned by a FileSystemInfos call on a DirectoryInfo class object.

A: 

the FullName property gets you the full path of the directory or file.

sylvanaar
Figured that out sometime after I posted.@Simon Fox, the FullPath and OriginalPath fields are protected - I can't seem to use them.
shadeMe
oh ... Thanks !
shadeMe