Re: how to get the file name from using a wildcard
- From: Daz <darren.blackley@xxxxxxxxx>
- Date: Fri, 23 May 2008 20:37:01 -0700 (PDT)
On May 23, 3:53 am, Tom Lavedas <tglba...@xxxxxxx> wrote:
On May 22, 3:08 pm, "Pegasus \(MVP\)" <I....@xxxxxxxxxx> wrote:
sExt = "Theme" ' no dot
with CreateObject("Scripting.FileSystemObject")
For Each oFile In .GetFolder(".").Files
If UCase(.GetExtensionName(oFile.Name)) = Ucase(sExt) Then _
Wsh.Echo oFile.Path
Next
end with ' FSO
Tom Lavedas
===========http://members.cox.net/tglbatch/wsh/
Hi Tom,
This is in the right direction of what i am looking for... How do i
only get the file name without the directory path?
Cheers,
Daz
.
- Follow-Ups:
- Re: how to get the file name from using a wildcard
- From: Paul Randall
- Re: how to get the file name from using a wildcard
- References:
- how to get the file name from using a wildcard
- From: Daz
- Re: how to get the file name from using a wildcard
- From: Pegasus \(MVP\)
- Re: how to get the file name from using a wildcard
- From: Tom Lavedas
- how to get the file name from using a wildcard
- Prev by Date: Re: VBS function into ActiveX ??
- Next by Date: Re: VBS function into ActiveX ??
- Previous by thread: Re: how to get the file name from using a wildcard
- Next by thread: Re: how to get the file name from using a wildcard
- Index(es):
Relevant Pages
|