>Probably I didn't understand what you want. Then use static System.IO.Path class to get any part of it as you want.:
>
>System.IO.Path.GetDirectoryName(fileName));
>System.IO.Path.GetExtension(fileName));
>System.IO.Path.GetFileName(fileName));
>System.IO.Path.GetFileNameWithoutExtension(fileName));
>System.IO.Path.GetFullPath(fileName));
>System.IO.Path.GetPathRoot(fileName));
Thanks