Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: VB Script Error

01 Oct 2011   #1
eccleshall91

Windows 7
 
 
VB Script Error

HI,

I am sorry if I have posted this I the wrong place I wasn't sure where to put it,

I am trying to open and run a .vbs file but I keep getting the following error

'There is no script engine for file extension '.vbs' '

I have searched the internet and found this link

There is no script engine for file extension “.vbs” « A Place for C Sharpers/.Netters

I have done everything it says to do in CMD.exe but I cannot find the file

%windir%\inf\wsh.inf

I've looking in the C:\Windows\inf directory but the file isn't there

Anyone know how I can fix this error

Much Appreciated


My System SpecsSystem Spec
.
01 Oct 2011   #2
z3r010

 

Try the restore file association for vbs files from this tutorial - Default File Type Associations - Restore
My System SpecsSystem Spec
01 Oct 2011   #3
eccleshall91

Windows 7
 
 

I have managed to get it to work now, thank you, z3r010 BUT it is now bringing up a error on the .vbs file but when I ran it before there was not error, could this be related?

its pointing to line 68

objLog.WriteLine objFile.Name & " contains " & colMatches.Count & " matches. Manual adjustment required."
My System SpecsSystem Spec
.

01 Oct 2011   #4
eccleshall91

Windows 7
 
 
script

Heres the script


Attached Files
File Type: vbs renscript.vbs (2.9 KB, 339 views)
My System SpecsSystem Spec
Reply

 VB Script Error




Thread Tools




Similar help and support threads
Thread Forum
Script error
Hi all Having a slight issue, keep seeing this screen and not sure what to do about it This happens when browser window opens inside a program (sage accounts) or if i try to print a html document attached to an email, i can open & view the document but if i try to print i get this error...
Software
Display Player Error: Object expected, Script Error
I am trying to run a certain program and it worked previously for a few days, and then today all of the sudden its giving me this error. Is this a windows thing I can try and fix? Or is it program specific (this program doesnt have much support unfortunately)
Software
ie8 script error
had a bit of trouble with ie8 tried reinstalling ie8 for msn and another or epeadia all the same problem loads of script errors I have done a reg scan and clean unticked the debugging in tools advanced anything else i can do thanks
Browsers & Mail
Script Error
Hello I have this script error msg popuping up all the time. It tried to format and install newer version but still problem exists. Also I think it happens when I am using flashget.
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 14:26.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App