This project has moved and is read-only. For the latest updates, please go here.

File Basename ?

Jun 18, 2011 at 10:54 AM

is there a way to avoid the ugly Path.GetFileNameWithoutExtension(fichier) to get the file basename

 

may be an extension something like file.Basename ?

Jun 21, 2011 at 10:46 PM

There is a FileNameWithoutExtension property on the Path class.