Input Error: There is no script engine for file extension ".vbs".

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

Hello!

A batch file included with the installation of some
software I have to use comes with a bit of code that writes
a temporary .vbs file and then tries to execute it, like so

cscript.exe //nologo ~tmp.vbs

On one of my machines, the result is an error message, as
in this note's subject line.

I have checked, under File Types, that files of extention
..vbs are to be Open2'd with cscript.exe. I have also
looked at registry entries for HKEY_CLASSES_ROOT/VBSFile,
to confirm that there, too, Open2 points at cscript.exe.
But to no avail.

Can somebody point me in the right direction (registry
entries, .ini files, etc.) to verify that my Window Script
engine is correctly configured?

Thank you much,

Simon
 
You might try reinstalling it.

http://www.microsoft.com/downloads/...43-7E4B-4622-86EB-95A22B832CAA&displaylang=en

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hello!
|
| A batch file included with the installation of some
| software I have to use comes with a bit of code that writes
| a temporary .vbs file and then tries to execute it, like so
|
| cscript.exe //nologo ~tmp.vbs
|
| On one of my machines, the result is an error message, as
| in this note's subject line.
|
| I have checked, under File Types, that files of extention
| .vbs are to be Open2'd with cscript.exe. I have also
| looked at registry entries for HKEY_CLASSES_ROOT/VBSFile,
| to confirm that there, too, Open2 points at cscript.exe.
| But to no avail.
|
| Can somebody point me in the right direction (registry
| entries, .ini files, etc.) to verify that my Window Script
| engine is correctly configured?
|
| Thank you much,
|
| Simon
 
Thanks. I found this on Google (before I got your
response), and got my problem straightened out.
Locate the file %windir%\inf\wsh.inf (inf is a hidden
folder), right click,
select "Install".

Thanks again.

Simon
-----Original Message-----
You might try reinstalling it.

http://www.microsoft.com/downloads/...43-7E4B-4622-86EB-95A22B832CAA&displaylang=en

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hello!
|
| A batch file included with the installation of some
| software I have to use comes with a bit of code that writes
| a temporary .vbs file and then tries to execute it, like so
|
| cscript.exe //nologo ~tmp.vbs
|
| On one of my machines, the result is an error message, as
| in this note's subject line.
|
| I have checked, under File Types, that files of extention
| .vbs are to be Open2'd with cscript.exe. I have also
| looked at registry entries for HKEY_CLASSES_ROOT/VBSFile,
| to confirm that there, too, Open2 points at cscript.exe.
| But to no avail.
|
| Can somebody point me in the right direction (registry
| entries, .ini files, etc.) to verify that my Window Script
| engine is correctly configured?
|
| Thank you much,
|
| Simon


.
 
Glad to hear it's sorted.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
Thanks. I found this on Google (before I got your
response), and got my problem straightened out.
Locate the file %windir%\inf\wsh.inf (inf is a hidden
folder), right click,
select "Install".

Thanks again.

Simon
 
Back
Top