Original Post
I'm using the OpenFileDialog to open music files. After opening the file OpenFileDialog.FileName is set to the path of the file. I need the path to play the song but i would also like just the file name (without the path) to display in a playlist. How can i get the name without the path? Thanks.