This project has moved. For the latest updates, please go here.

File Basename ?

Jun 18, 2011 at 9: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 ?

Coordinator
Jun 21, 2011 at 9:46 PM

There is a FileNameWithoutExtension property on the Path class.