TSelectDirectoryDialog
is a component that aids in selecting a directory in the file system. It can be found on the Dialogs tab of the Component Palette.
if SelectDirectoryDialog1.Execute then
LabelDir.Caption := SelectDirectoryDialog1.FileName + PathDelim;