Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the basename of a file?

Status
Not open for further replies.

dazappa007

Programmer
Oct 24, 2007
4
US
How can I get the basename of a file. I'd like it to turn something like "C:/apple/pie.txt" to "pie.txt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top