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

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
 
D

Dave Patrick

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
 
S

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


.
 
D

Dave Patrick

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top