Re: vb script in XP

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thank you again.

I ran the command and the answer was "DllRegisterServer in
C:\Windows\system32\vbscript.dll succeeded"

But - when I again ran the vbs script I still recieve the error message
""There is no script engine for file extension" vbs"

What am I doing wrong?

Thanks for the help.

Jeff


Pegasus (MVP) wrote:
Google is your friend. If you had typed the following into a Google
search box:

"There is no script engine for file extension" vbs

then you would have received almost 900 hits, most of them
recommending that you run the command
regsvr32 %systemroot%\system32\vbscript.dll


<Jeff@xxxxxxxxxxx> wrote in message
news:OLU3xiGlJHA.4344@xxxxxxxxxxxxxxxxxxxxxxx
Thanks for helping.

When I run it that way I get a popup labeled "Windows Script Host"
and the text of the popup is "There is no script engine for file
extension ".vbs" (The same thing happened months ago when I tried to run
one of
Kelly's vbs scripts).

Jeff

Pegasus (MVP) wrote:
<Jeff@xxxxxxxxxxx> wrote in message
news:eZzWcJGlJHA.1340@xxxxxxxxxxxxxxxxxxxxxxx
I have a vb script ( currentpagefilesettings.vbs ) I would like to
run in my XP laptop, but when I click on it it does not run. I
also tried running it in a command prompt and get
'currentpagefilesettings.vbs' is not recognized as an internal or
external command,
operable program or batch file.'

How do I run it in XP?

Jeff

Your problem is not related to Windows XP itself but to your own
machine. What happens when you do this:
- Click Start / Run / cmd{OK}
- Type this command:
wscript "c:\xxx\CurrentPageFileSettings.vbs"{Enter}

You must replace "xxx" with an actual folder name.


.



Relevant Pages

  • Re: output error messages
    ... I'm sure there is an error message being displayed by the 'mv' ... command, but I don't know how to access the message. ... script via a parameter value. ... Currently I'm using the 'spawn' syntax to launch commands, ...
    (comp.lang.tcl)
  • Re: output error messages
    ... I'm sure there is an error message being displayed by the 'mv' ... command, but I don't know how to access the message. ... script via a parameter value. ... Currently I'm using the 'spawn' syntax to launch commands, ...
    (comp.lang.tcl)
  • output error messages
    ... I'm still working on the same script from the post yesterday ... I'm sure there is an error message being displayed by the 'mv' ... command, but I don't know how to access the message. ... 'catch' and can display an error code, but not the message (as shown ...
    (comp.lang.tcl)
  • Re: output error messages
    ... 'mv' command via spawn but the script isn't throwing any errors, ... I'm sure there is an error message being displayed by the 'mv' ... command, but I don't know how to access the message. ...
    (comp.lang.tcl)
  • Re: JETCOMP.exe utility switch to path to database to compact
    ... I ran the command line script many times. ... error message something about can't find the internal program. ... operable program or batch file. ...
    (microsoft.public.scripting.vbscript)