Have a look at the System.Environment class and its properties and methods, e.g:
string systemDir = System.Environment.SystemDirectory;string docs = System.Environment.GetFolderPath( System.Environment.SpecialFolder.MyDocuments));string systemDrive = System.IO.Path.GetPathRoot(systemDir);
The first one returns "C:\Windows\system32" for example and the second one "C:\Documents and Settings\USERNAME\My Documents".