Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating a folder in C#

Status
Not open for further replies.

789456123123456789

Programmer
Aug 8, 2002
1
FR
Hi,
I'd like to create a new folder on the disk using C# but I don't know how.
Thanks,
Ron.
 
I think you can use System.IO.Directory class to create directory in the specified path. In the CreateDirectory method you can specify the path in which the directory should be created..

leslie
 
Using System;
Using System.IO;

public static void CreateDirectory(string ASTR_Path)
{
Directory.CreateDirectory(ASTR_Path);
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top