Windows Directory via .NET framework 2.0

Hello,

Is there any System.? to retreive Windows directory using .NET framework

Many thanks in advance

Herve
wiederheAsked:
Who is Participating?
 
Computer101Connect With a Mentor Commented:
PAQed with points refunded (50)

Computer101
EE Admin
0
 
prosh0tCommented:
Yep, the system.io.directory namespace contains what you will need.

See:
http://msdn2.microsoft.com/en-us/library/system.io.directory.aspx
0
 
wiederheAuthor Commented:
Hello,

Sorry, I don't see any Methods/Function to retreive Windows XP/2000 directory in "system.io.directory"

Regards

Herve
0
 
wiederheAuthor Commented:
Here is the answer to my question:

WINDIR_Path = Environment.GetEnvironmentVariable("SystemRoot")

I'm beginning to wonder what services I'm paying for.
I wasn't very lucky with the answer to my questions so far!!!!!!!!!!!!!!!!!!!!!!!!!!!
0
All Courses

From novice to tech pro — start learning today.