Solved

Look for file with wildcard

Posted on 2002-06-05
2
145 Views
Last Modified: 2013-12-24
Hi,

I would like to search for a file in s specifc directory with a joker or wildcard, like:

image??.cfm
or
image*.*

How can I do this?

Tanx,
Floris.
0
Comment
Question by:florisb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
reitzen earned 100 total points
ID: 7056766
The CFDIRECTORY tag has a filter parameter that will allow you to filter the files/folders returned based on your requirements.  

Simply enter the filter exactly like you did in your question:    

<cfdirectory action="LIST" directory="#MyPath#" name="qryDirectory" filter="image*.*" sort="name">

HTH
Rob
0
 
LVL 2

Author Comment

by:florisb
ID: 7061334
Hehe, thanks!

Easy and works perfect, also filters like ?u?.*
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question