B
Ben
Hi,
i need the filename of files located in a directory.
I use this:
Directory.GetFiles(Server.MapPath("~/mydirectory/")
For Each fileName In fileEntries
name=fileName
next
but this guves the full path. Any way to get only the filename? Of course i
can use substring, but does it exist a function?
Thanks
Ben
i need the filename of files located in a directory.
I use this:
Directory.GetFiles(Server.MapPath("~/mydirectory/")
For Each fileName In fileEntries
name=fileName
next
but this guves the full path. Any way to get only the filename? Of course i
can use substring, but does it exist a function?
Thanks
Ben