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

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

 

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

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

Windows 7
 
 
script

Heres the script


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

 VB Script Error




Thread Tools



Similar help and support threads for2: VB Script Error
Thread Forum
Solved Script Error Browsers & Mail
Solved Script error Software
Display Player Error: Object expected, Script Error Software
Script Error Help BSOD Help and Support
ie8 script error Browsers & Mail
script error when running a vbs script. Network & Sharing

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 03:33 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33