Re: Scripting within windows XP failed
From: Torgeir Bakken (MVP) (Torgeir.Bakken-spam_at_hydro.com)
Date: 05/12/03
- Next message: Josh: "Rebooted and it was gone"
- Previous message: Torgeir Bakken (MVP): "Re: Need help with Windows XP EFS"
- In reply to: Keith: "Scripting within windows XP failed"
- Next in thread: Keith: "Re: Scripting within windows XP failed"
- Reply: Keith: "Re: Scripting within windows XP failed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 12 May 2003 00:10:44 +0200
Keith wrote:
> I tried to run a vbs script file (printer.vbs) to add a
> printer. It works perfectly in windows 2000, but running
> it windows XP gives the error there is no script engine
> for file extension ".vbs"
>
> If I say "open with" and associate it with either windows
> scripting host or cscript it will still not work.
Hi
A side note first: microsoft.public.scripting.wsh is a more relevant group for
this type of question (WSH is Windows Script Host, covers vbscript and jscript)
URL to the group for those who uses the not so good Web interface to access the
Back to your problem:
Try this to refresh the registry values for WSH on Windows XP:
Locate the file %windir%\inf\wsh.inf (inf is a hidden folder), right click,
select "Install".
If that doesn't help, download and install WSH from here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
-- torgeir Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter
- Next message: Josh: "Rebooted and it was gone"
- Previous message: Torgeir Bakken (MVP): "Re: Need help with Windows XP EFS"
- In reply to: Keith: "Scripting within windows XP failed"
- Next in thread: Keith: "Re: Scripting within windows XP failed"
- Reply: Keith: "Re: Scripting within windows XP failed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|