How do I check whether a folder named xyz exist in a given path(recursively) and if it exits then get its full path so that I can copy some files from it? Will something like below work or am I missing something?
if (Directory.Exists(Path.Combine(textBox1.Text, "xyz")) { string directoryPath = Path.GetDirectoryName(textBox1.Text); }