Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

VBScript not working.


  • Please log in to reply

#1
IO-error

IO-error

    Member

  • Member
  • PipPipPip
  • 276 posts
Hi all.

I deleted the extensions for vbs and vbe, but when I placed them back, it didn't work anymore.
I tried registering the dll that handles it again, but it still doesn't work.

I tried these commands:
regsvr32 c:\Windows\System32\VBScript.dll
regsvr32 VBScript

After I run any of those commands, I get the message that it succeeded.
But when I try to run a .vbs it's still giving me the error message that the script engine can't be found.

Any ideas?
I don't have a WinXP cd anymore, so I can't do "sfc /scannow".
  • 0

Advertisements


#2
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
http://www.microsoft...;displaylang=en
  • 0

#3
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
download and install
  • 0

#4
IO-error

IO-error

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 276 posts
Also not working.

Euhm, maybe a stupid question, but do I HAVE to reboot?
I'm running a few servers which need constant attention, so I can't really reboot now.
  • 0

#5
IO-error

IO-error

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 276 posts
If anybody else has this same problem, here is how to fix it.


For VBS:
Open My Computer -> Tools -> Options -> File Extensions.
Click on New -> Type the correct extension, then click Advanced -> Select "VB Script Language"

For VBE:
Click on New -> Type VBE, then click Advanced -> Select "VB Encoded Script File"

For WSC:
Click on New -> Type WSC, then click Advanced -> Select "Windows Script Component"

For WSF:
Click on New -> Type WSF, then click Advanced -> Select "Windows Script File"

For WSH:
Click on New -> Type WSH, then click Advanced -> Select "Windows Script Host Settings File"

Thank you all for your time, unfortunatly I had to solve this myself. Thank you for trying anyways :whistling:
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP