Check Existence of File using VBScript in ASP page

S

Scott

Is there a way to check if a file exist using VBScript in an ASP page.
So the code might go something like this:

If Exists("C:\Junk\1.txt") then
Do something
Else
Do something else
End If

Thx,
Scott Buerkley
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top