View Single Post
Old 08-25-2008   #1 (permalink)
George


 
 

elegant way to get path and file name

Hello everyone,


Suppose I have a string representing a file name (absolute name), like
"c:\myproject\Csharpproject\memo.txt", I want to retrieve the path like
c:\myproject\Cshartproject and relative file name memo.txt separately.


thanks in advance,
George
My System SpecsSystem Spec