|
-
Dec 14th, 2007, 11:45 PM
#1
[2008] read a directory tree
is there an easy way to read the directory tree? I would like to be able to do this:
a user picks a number
i dump into a text file the directory tree, but only read as many levels deep as the number entered.
example:
a path on disk: c:\windows\system32\drivers\cabs
user enters "3"
this is returned:
c:\
c:\windows
c:\windows\system32
I have made this work in vb6.0 but i have no idea at all where to even begin in .net.
Other storage ideas for the read path can be considered. It's for a program i am converting to .net that indexes cds. It contains a link to read the directory tree.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|