Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't run any VBScript on the server

Status
Not open for further replies.

hujirong

Technical User
Aug 22, 2005
13
CA
Hi

I can't run any VBScript on the server. When I run it from command line, it gets displayed in Wordpad.

In addition, when I got an error "Invalid procedure call or argument" when I do a
Set MyShell = CreateObject("WScript.Shell"). The wield thing is a subsequent call to MyShell.Run "C:\Windows\Notepad.exe" call still launghed the Notepad!

Admin disabled it from running, for security? How can I enable it?

Jirong
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top