use System.Windows.Forms.FolderBrowserDialog:
var dlg = new System.Windows.Forms.FolderBrowserDialog(); dlg.ShowNewFolderButton = true; //if you want new folders as well dlg.SelectedPath = someStartPath; //where to start if( dlg.ShowDialog() == DialogResult.OK ) { //ok user selected something DoStuffWith( dlg.SelectedPath ); }
stijn source share