Use the Environment.GetFolderPath method to return and display the path associated with the folder parameter. : Environment Setting « Windows System « VB.Net

Home
VB.Net
1.2D
2.Application
3.Class
4.Data Structure
5.Data Types
6.Database ADO.net
7.Development
8.Event
9.File Directory
10.Generics
11.GUI
12.Language Basics
13.LINQ
14.Network Remote
15.Security
16.Thread
17.Windows Presentation Foundation
18.Windows System
19.XML
20.XML LINQ
VB.Net Tutorial
VB.Net by API
VB.Net » Windows System » Environment SettingScreenshots 
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

   
    
  
Related examples in the same category
1.Get System Exit CodeGet System Exit Code
2.Has Shutdown StartedHas Shutdown Started
3.Get Machine NameGet Machine Name
4.Get System New Line CodeGet System New Line Code
5.Get OS VersionGet OS Version
6.Get Processor CountGet Processor Count
7.Get Sysstem DirectoryGet Sysstem Directory
8.Get Tick CountGet Tick Count
9.Get .Net Runtime Environment Version NumberGet .Net Runtime Environment Version Number
10.Get Working SetGet Working Set
11.Display System Stack TraceDisplay System Stack Trace
12.List your environment SettingList your environment Setting
13.Get Environment Variable by NameGet Environment Variable by Name
14.Adding Favorites
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.