Re: Checking and deleting files

2000-11-06 Thread Billy Cravens
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 &

RE: Checking and deleting files

2000-11-06 Thread Bert Dawson
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

Re: Checking and deleting files

2000-11-06 Thread W Luke
> 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 -

RE: Checking and deleting files

2000-11-06 Thread DeVoil, Nick
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

Checking and deleting files

2000-11-06 Thread Jim Watkins
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 -