tkins [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 06, 2000 2:39 PM
> To: CF-Talk
> Subject: Checking and deleting files
>
> Can someone help me on checking for and then deleting a file?
> I need to check to see if the file 'output.xls' exists and then if it does
&
use the CF function: FileExists()
Bert
> -Original Message-
> From: Jim Watkins [mailto:[EMAIL PROTECTED]]
> Sent: 06 November 2000 14:39
> To: CF-Talk
> Subject: Checking and deleting files
>
>
> Can someone help me on checking for and then dele
> Can someone help me on checking for and then deleting a file?
> I need to check to see if the file 'output.xls' exists and then if it does
> delete it. Currently I use following but seems to be rather crude:
>
>
>
How about this?
Will
-
One way - just do the but put a CFTRY/CFCATCH
round it to trap the error in case the file doesn't exist.
Nick
-Original Message-
From: Jim Watkins [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 06, 2000 2:39 PM
To: CF-Talk
Subject: Checking and deleting files
Can someone he
Can someone help me on checking for and then deleting a file?
I need to check to see if the file 'output.xls' exists and then if it does
delete it. Currently I use following but seems to be rather crude:
Jim Watkins
http://www.ngtcollege.org
-
5 matches
Mail list logo