
Using WScript in wsc files
Thanks for the fast help!!
Is there a documentation available, which syntax to use
in wsc-files? Online or Book?
Frank Mueller
Quote:
>-----Original Message-----
>in Jscript its:
>var fso = new ActiveXObject
("Scripting.FileSystemObject");
Quote:
>> I want to use my JScript tools in a wsc-file.
>> I have only one problem: using
>> var fso = WScript.CreateObject
>> ("Scripting.FileSystemObject");
>> does not work.
>> The error "WScript" is undefines is prompted.
>> How can I create a file system object using the wsh and
>> JScript?
>> My used code is in the attachment.
>> Thank you for the help,
>> Frank
>.