MS DOS batch program error: There is no script engine for file extension “.vbs” error

There is no script engine for file extension “.vbs” error

This is very common error if you are trying to execute a MS DOS batch program built with the VBS scripting. Not only with the DOS batch programming; though there are also many application like Notepad++; an advance version of Notepad also produces the same error. This error is often comes in  Microsoft Windows XP… then, now how to overcome this problem.

Though at first look; it clearly seems that there must be an DLL registration missing in the registry and Microsoft on his official site states that this can be fixed via registering the VBSCRIPT.dll in the registry with the following command.

To do so open the run command using the Windows + r menu and then pasting the the following text in written in bold and then press enter.

regsvr32 %systemroot%\system32\vbscript.dll

This will give you a message DllRegisterServer in vbscript.dll succeeded.

Though for many of us this fix works as well but; in mine case this was not doing well… but the other fix mentioned below (via fixing the wsh.inf from the Windows system INF directry.

Here are the steps:

1. First open the run menu as earlier and type %windir%\inf\ and press enter.

2. Locate wsh.inf and right click on it ans select install.

That’s it; the problem should have gone… tell us about it via comment section….

Enjoy..

Leave a Reply

Your email address will not be published. Required fields are marked *