Search This Blog

Monday, March 1, 2010

Get file name from path

I cannot remember this....

 System.IO.Path.GetFileName(filepath)

its IO.Path not IO.Directory or IO.File

No comments: