Ciao,
Come diceva giustamente aiedail92, puoi usare i metodi Path.GetDirectoryName e Path.GetFileName.
Ecco un piccolo esempio:
string filePath = @"c:\directory\dir1\file.txt";
string pathName = Path.GetDirectoryName(filePath);
string fileName = Path.GetFileName(filePath);
Rocco Verrastro
.NET Programmer - Web Developer