Author Topic: No VBscripting on XP?  (Read 3767 times)

Jor

  • Sr. Member
  • ****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
No VBscripting on XP?
« on: June 09, 2002, 06:13:04 PM »
I can't get any vbs scripts to run on WindowsXP, it claims "There is no script engine for file extension ".vbs".

I checked the registry, there is no entrty for .vbs present, but even forcing the scripting modules to run a vbs script (wscript "C:   empscript.vbs" or cscript "C:   empscript.vbs") doesn't work either.

XP won't allow me to install the Windows Scripting Host version 5.6, and a reinstall also didn't fix the problem. Any suggestions?

 
 

sidki3003

  • Sr. Member
  • ****
  • Posts: 476
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://
    • Email
No VBscripting on XP?
« Reply #1 on: June 09, 2002, 07:02:18 PM »
Here it worked out of the box (xp pro us).
I'm using a vbs as logon script since installation.

So i guess there's something broken on your machine.
Probably you need to reregister one or more of these DLLs:

dispex.dll
jscript.dll
scrobj.dll
scrrun.dll
vbscript.dll
wshext.dll
wshom.ocx

"regsvr32 dllname"
AFAIK they must be all there.


 
 

Jor

  • Sr. Member
  • ****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
No VBscripting on XP?
« Reply #2 on: June 09, 2002, 07:06:25 PM »
Thank you! I regsitered all files, this solved it