There's the OpenFileDialog where you can get the path by removing the file name, but if you don't care about the file and only want the folder you should use the FolderBrowser dialog.
Look through the FolderBrowserDialog class member list. It has many code examples too.
If you need to manipulate paths easily look to System.IO.Path class.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.