Use the Environment.GetFolderPath method to return and display the path associated with the folder parameter. : Environment Setting « Windows System « VB.Net
Use the Environment.GetFolderPath method to return and display the path associated with the folder parameter.
Imports System
Class Sample
Public Shared Sub Main()
Console.WriteLine()
Console.WriteLine("GetFolderPath: {0}", Environment.GetFolderPath(Environment.SpecialFolder.System))
End Sub
End Class