The following code is For Windows Application: FolderBrowserDialog folderDlg = new FolderBrowserDialog(); folderDlg.ShowNewFolderButton = true; DialogResult result = folderDlg.ShowDialog(); if (result == DialogResult.OK) { txtBrowse.Text = folderDlg.SelectedPath; Environment.SpecialFolder root = folderDlg.RootFolder; }