Hi, how can I get the filename only from a full file path?
Thanks,
Jewel
Printable View
Hi, how can I get the filename only from a full file path?
Thanks,
Jewel
got it already..thanks anyway...
VB Code:
Dim fileinfo As New FileInfo(sFilename) sName = fileinfo.name
You might also want to familiarise yourself with the System.IO.Path class, which contains several methods for manipulating a file path.