I want to use the System file object to see if a file exists before I redirect to it. Do you know the syntax?<BR>Thanks<BR>Tom
<% <BR>set fs = server.createobject("scripting.FileSystemObject")< BR>If fs.FileExists("C:mydir est.txt") then<BR> response.write "File exists"<BR>else<BR> response.write "can't be found"<BR>end if <BR>%>
That's exacly what I needed, I didn't know I needed the whole path. Thanks a lot.