Mega Code Archive

 
Categories / VB.Net / Windows System
 

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