Posts Tagged ‘Folder’

To get the path of temp folder in c#

System.Environment.GetEnvironmentVariable("TEMP")
 
or
 
System.IO.Path.GetTempPath()

above syntax gets the TEMP folder path of the system.
have a look about system.environment.getenvironmentvariable from the msdn link.

Popularity: 4% [?]

Create New Folder Using C#.Net

System.IO.Directory.CreateDirectory(“D:\TempFolder”);

This will create a new folder by name “TempFolder” in D drive.

Popularity: 15% [?]

Designed by: Business Web Hosting | Thanks to Buy Icons, travel tips and Used Cars