Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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