Just write this line :
System.IO.Directory.CreateDirectory(myDir);
If the folder does not exist yet, it will be created.
If the folder exists already,...
How to Pass Command Line Arguments using Visual Studio. We wanted to test an application in Visual Studio that accepts command-line parameters for some testing, by specifying different test environments.