|
-
Jul 14th, 2005, 05:02 AM
#1
Thread Starter
Addicted Member
get filename only
Hi, how can I get the filename only from a full file path?
Thanks,
Jewel
-
Jul 14th, 2005, 05:08 AM
#2
Thread Starter
Addicted Member
Re: get filename only
got it already..thanks anyway...
VB Code:
Dim fileinfo As New FileInfo(sFilename)
sName = fileinfo.name
-
Jul 14th, 2005, 06:15 AM
#3
Re: get filename only
You might also want to familiarise yourself with the System.IO.Path class, which contains several methods for manipulating a file path.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|