Try:

<cfdirectory action="LIST" directory="C:\NTBackup\data\" name="dir"
filter="*.log" sort="DateLastModified DESC">

<CFMAIL FROM="Eagle"
To=jwatkins
Subject="Backup Report">
Greetings from Eagle!
Backup Report attached to this message
<CFMAILPARAM FILE="#dir.Name#">
</CFMAIL>

Russel

============================================================
  Russel Madere, Jr.         Senior Web Developer
  ICQ: 5446158               http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.
============================================================


> -----Original Message-----
> From: Jim Watkins [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 06, 2001 09:08
> To: CF-Talk
> Subject: Retrieving latest file
>
>
> I need to modify CFMAILPARAM below to send me the latest log file. The
> current
> backup log is backup09.log and tomorrow it will be backup10.log and so on.
> What do I need to do?
>
> <CFMAIL FROM="Eagle"
> To=jwatkins
> Subject="Backup Report">
> Greetings from Eagle!
> Backup Report attached to this message
> <CFMAILPARAM FILE="C:\NTBackup\data\backup09.log">
> </CFMAIL>
>
> Jim Watkins
> http://www.ngtcollege.org
>
> Jim Watkins
> http://www.ngtcollege.org
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to