When I double-click on a .vbs script file to execute it,
I get the error message "There is no script engine for file extension VBS".
Thus I cannot execute VBS files.
OK try this..
In your file types tab (in "View|Folder Options" or "Tools|FOlder Options" in an Explorer window)
See if there is a VBScript Script file (VBS) file type if there is then make sure the parameters are as follows..
Description of type: VBScript Script File
(If creating a new file type...)Associated Extension:.vbs
In the actions have the follow four actions and make sure the actions are identical to what I type.
Edit - C:\WINDOWS\Notepad.exe
Open - C:\WINDOWS\WScript.exe "%1" %*
Print - C:\WINDOWS\Notepad.exe /p
Open With MS-DOS Prompt - C:\WINDOWS\COMMAND\CScript.exe "%1" %*
Lastly change the icon to the blue scroll icon in C:\WINDOWS\WScript.exe.
Now you need to edit your registry.
Please ONLY change and write to your registry what I tell here in this thread.
0.5 Run "Regedit"
1. locate "vbsfile" key(folder) under HKEY_CLASSES_ROOT.
2. Add a "ScriptEngine" key under vbsfile.
3. Click your newly created key, and double-click the (default) value and put the text "VBScript"
4. Add a "ScriptHostEncode" Key under vbsfile.
5. Click your newly created key, and double-click the (default) string value and put the text "{85131631-480C-11D2-B1F9-00C04F86C324}" in it.
6. Create a "ShellEx" Key under vbsfile
7. Create a "PropertySheetHandlers" Key under ShellEx
8. Create a "WSHProps" Key under PropertySheetHandlers
9. Click the newly created key and double-click the (default) string value and enter the text "{60254CA5-953B-11CF-8C96-00AA00B8708C}"
10. Exit regedit and test out a VBS file.
Complicated registry stuff there. Please read it through and ask yourself if you can do this confidently before you go in. Please don't mess with any settings that "seem interesting".
Problem Solved. And thanks a million, billion, trillion for taking the time to help me out.
When I ran RegEdit, the parameters were already set as you had described so, the problem was really in the Tools|Folder Options, File Types Tab.
VBS Files were associated with the Xing Mpeg Player.
I tried to change the parameters but it still wouldn't work.
Finally, I deleted the VBS file extension from File Types, created a new VBS File extension and in the description associated it with VBScript Script File. Bwala!!! everything worked.
Problem now is when i click on an mpeg or mpg file, Windows Scripting Host is executed.
So back to File Types Tab to edit the Mpeg, Mpg extensions. HA HA HA.
I guess the problem was caused by the Xing Mpeg Player installation program.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.