
Set filesys = CreateObject("Scripting.FileSystemObject")
asked and answered in microsoft.public.inetsdk.programming.scripting.vbscript
--
Michael Harris
Microsoft.MVP.Scripting
--
Please do not email questions - post them to the newsgroup instead.
--
Quote:
> I made VBScript in HTML but it works just on my Computer, on my friends
> computer or on any other it doesn't work. (they have Internet Explorer 5
> like me) The Script is:
> <script language="vbscript">
> Set filesys = CreateObject("Scripting.FileSystemObject")
> If Not filesys.FileExists("c:\op.1st") Then
> 'none
> Else
> Location.href = "http://www.microsoft.com"
> End If
> </script>
> --
> | | | | / /\
> | | | |/ \ /__\
> | \___/ | \ / \
> |____ Z E M U N