find root directory

Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Apr 2009
Posts: 8
Reputation: Rahul8389 is an unknown quantity at this point 
Solved Threads: 1
Rahul8389 Rahul8389 is offline Offline
Newbie Poster

find root directory

 
0
  #1
Apr 19th, 2009
hi friends ,
is there is any code to find root directory off a system
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 710
Reputation: Teme64 will become famous soon enough Teme64 will become famous soon enough 
Solved Threads: 114
Teme64's Avatar
Teme64 Teme64 is offline Offline
Master Poster

Re: find root directory

 
0
  #2
Apr 19th, 2009
What do you mean by 'root directory'?

You get most of the special directories with My.Computer.FileSystem.SpecialDirectories property. Environment.SystemDirectory property returns full path of the system directory. Environment.GetFolderPath(<SpecialFolder>) function returns also special folders.

Check those properties and the function. I'll think you'll find what you're looking for.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC