I couldn't figure out how to include the variable ("ID") in the filename but a friend figured it out for me by creating a new filename from the path, the ID, and the extension.
Thanks for your post
User Profile
Collapse
-
How can I check if file exists?
Code:<% Dim objFSO Set objFSO = Server.CreateObject("Scripting.FileSystemObject") If objFSO.FileExists ("yourfile.txt") Then Response.Write "File exists" Else Response.Write "File does not exist" End If %>
No activity results to display
Show More
Leave a comment: