Ask a Question related to ASP, Design and Development.
-
Robert Wagstaff #1
Finding filenames using wildcards
I have an interesting challenge. I have a client that is
putting pictures into a single folder on the web server.
The files are specific in that the first 5 characters of
the filename are the same ORDER#. The challenge is simply
to find all the filenames with the initial 5 characters
being input on an HTML form. That way I can establish
links to each one of the pictures on the results page.
So for instance if Order # 12345 was input the ASP page
using I guess the filesystemobject should find all files
that start with 12345 and return them. So the page could
show 12345_1a.jpg / 12345_1b.jpg / 12345_4a.jpg /
12345_12.jpg / etc., etc.
Any ideas or help would be greatly appreciated!! Thank you
in advance!
Robert Wagstaff Guest
-
Using wildcards in a WHERE statement
I'm in the process of converting from Access to SQLServer and need help with using wild cards in a WHERE statement. When the following statement is... -
Wildcards
Why isn't it possible to search with wildcards (like * and ?) in Acrobat 6? In Acrobat 5 it used to be possible. What is the alternative? -
File copy wildcards
I have a directory with files named: ex0915 dx0915 gg0915 -
Locks next to filenames (k)
My client is doing some changes to the site I uploaded. He is using Dreamweaver. I've noticed that some of the files in my filelist now have little... -
Wildcards in rename()?
Hi all! Do any of you know if wildcards are accepted when calling rename() function? Thanks/Alvaro -
Aaron Bertrand - MVP #2
Re: Finding filenames using wildcards
Insert the file list into a database table or a recordset, then you could
use SQL where clause. This might give you a start:
[url]http://www.aspfaq.com/2025[/url]
"Robert Wagstaff" <rw@cns4us.com> wrote in message
news:023101c36d9d$7f909260$a501280a@phx.gbl...> I have an interesting challenge. I have a client that is
> putting pictures into a single folder on the web server.
> The files are specific in that the first 5 characters of
> the filename are the same ORDER#. The challenge is simply
> to find all the filenames with the initial 5 characters
> being input on an HTML form. That way I can establish
> links to each one of the pictures on the results page.
>
> So for instance if Order # 12345 was input the ASP page
> using I guess the filesystemobject should find all files
> that start with 12345 and return them. So the page could
> show 12345_1a.jpg / 12345_1b.jpg / 12345_4a.jpg /
> 12345_12.jpg / etc., etc.
>
> Any ideas or help would be greatly appreciated!! Thank you
> in advance!
Aaron Bertrand - MVP Guest



Reply With Quote

