How to get the directoryinfo object from knowing a pathname

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mperrego
    New Member
    • May 2010
    • 1

    How to get the directoryinfo object from knowing a pathname

    I have located the My Documents folder using the Environment.Get folderPath(Envi ronment.Special Folder.Personal ) call, yet this returns a string.

    This returns a string which looks perfect yet I would like to pass the DirectoryInfo object of this path to a function.

    Any ideas?

    Thanks mike
  • vb5prgrmr
    Recognized Expert Contributor
    • Oct 2009
    • 305

    #2
    perhaps by asking this question in the correct forum might be a good idea as you need VB.NET!

    Comment

    Working...