Check Existence of File using VBScript in ASP page  
Author Message
me





PostPosted: 2005-9-23 6:56:00 Top

asp, Check Existence of File using VBScript in ASP page 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

--
The Source For Premium Newsgroup Access
Great Speed, Great Retention
1 GB/Day for only $8.95
 
Slim





PostPosted: 2005-9-23 8:33:00 Top

asp >> Check Existence of File using VBScript in ASP page
"Scott" <email***@***.com> wrote in message
news:email***@***.com...
> 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


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/jsmthfileexists.asp



>
> --
> The Source For Premium Newsgroup Access
> Great Speed, Great Retention
> 1 GB/Day for only $8.95


 
me





PostPosted: 2005-9-23 20:17:00 Top

asp >> Check Existence of File using VBScript in ASP page On Fri, 23 Sep 2005 08:33:36 +0800, "Slim" <me@home> wrote:

Thank You!! This worked.

Thx,
Scott Buerkley


>
>"Scott" <email***@***.com> wrote in message
>news:email***@***.com...
>> 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
>
>
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/jsmthfileexists.asp
>
>
>
>>
>> --
>> The Source For Premium Newsgroup Access
>> Great Speed, Great Retention
>> 1 GB/Day for only $8.95
>
>

--
The Source For Premium Newsgroup Access
Great Speed, Great Retention
1 GB/Day for only $8.95