Anonymous  [11 posts]
7 year
my following vbs script work fine in windows.

Dim objShell
Set objShell = WScript.CreateObject( "WScript.Shell" )
Set objShell = Nothing

but roboreal gives following error

error (2) : object required : `wscript`
Steven from United States  [1445 posts] 7 year
WScript isn't exactly VBScript. Try

Dim objShell
Set objShell = CreateObject("Shell.Application")
Set objShell = Nothing
Anonymous  [11 posts] 7 year
Thanks a lot. I am begining to unaderstand.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index