D
Dave
I've a number of scripts which I have used for a while
for various admin tasks, but now every one including a
line such as
Set xyz = CreateObject("Scripting.FileSystemObject")
fails at that line with the error
Error: ActiveX component can't create
object: 'Scripting.FileSystem.Object'
Code: 800A01AD
Source: Microsoft VBScript runtime error
It is not my scripts that are at fault; that is there is
an error even in a simple script pulled of MSDN like:
Dim fso, fldr
Set fso = CreateObject("Scripting.FileSystemObject")
Set fldr = fso.CreateFolder("C:\MyTest")
Response.Write "Created folder: " & fldr.Name
I've found a few references to this error on Google but
only in relation to asp pages; this is just a script on
the desktop being executed.
Any ideas what is wrong? Presumably some system setting?
Thanks in advance
for various admin tasks, but now every one including a
line such as
Set xyz = CreateObject("Scripting.FileSystemObject")
fails at that line with the error
Error: ActiveX component can't create
object: 'Scripting.FileSystem.Object'
Code: 800A01AD
Source: Microsoft VBScript runtime error
It is not my scripts that are at fault; that is there is
an error even in a simple script pulled of MSDN like:
Dim fso, fldr
Set fso = CreateObject("Scripting.FileSystemObject")
Set fldr = fso.CreateFolder("C:\MyTest")
Response.Write "Created folder: " & fldr.Name
I've found a few references to this error on Google but
only in relation to asp pages; this is just a script on
the desktop being executed.
Any ideas what is wrong? Presumably some system setting?
Thanks in advance