Go thr this

Sujit Patil replied to lokesh kumar at 10-May-08 04:52

Use this;

Dim Root As New DirectoryInfo("C:\")

Dim Dirs As DirectoryInfo() = Root.GetDirectories("*.*")


For Each DirectoryName In Dirs

here you will get "DirectoryName.FullName"


Next
Go thr this;

http://www.freevbcode.com/ShowCode.asp?ID=2087

http://www.vbforums.com/showthread.php?t=244915

Best Luck!!!!!!!!!!!

Sujit.




Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  How to get a list of directory in c drive? - lokesh kumar  10-May-08 3:59:22 AM
      check here - Vasanthakumar D  10-May-08 4:26:57 AM
      Go thr this - Sujit Patil  10-May-08 4:52:18 AM
          re: Get directory - Chirag Bhavsar  10-May-08 5:21:14 AM
      Hope you want Visual Basic version of code - sundar k  10-May-08 6:09:18 AM
      Get C Drive directories - Sanjay Verma  12-May-08 8:09:29 AM
View Posts