<cfdirectory action="list" directory="#expandPath('.')#" name="theList"
sort="name ASC" />

Should do that for you.

On Sat, Aug 11, 2012 at 8:33 AM, John Barrett <[email protected]> wrote:

>
> yes, how would you do that, could you give a example?
> thanks!
> johnny
> On Aug 10, 2012, at 6:26 PM, Paul Kukiel wrote:
>
> >
> > Do you mean based on a cfdirectory listing? so you can loop over them?
> >
> > On Sat, Aug 11, 2012 at 8:19 AM, John Barrett <[email protected]>
> wrote:
> >
> >>
> >> Hi,
> >> is there a way to organize a directory with a bunch a pdf files that are
> >> numbered like 1.pdf ? I don't have access to a database otherwise I
> would
> >> know how to do this. I have been looking at the docs in the cfdirectory,
> >> but I have not found my solution yet, so I thought I would ask.
> >>
> >> I want the files to appear as 1.pdf,2.df,3.df,4.df,5.df,etc now it is
> >> 1.df,3.pdf, 5.pdf, 2.6.df, etc
> >>
> >> thanks so much
> >> Johnny
> >>
> >>
> >>
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5877
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to