Re: vb script in XP

Tech-Archive recommends: Fix windows errors by optimizing your registry



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: 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)
  • Re: [opensuse] CUPS error "client-error-not-authorized"
    ... For these type of Canon copier/printers there is ... Running this script in 10.0 and in 10.1 worked perfectly, ... is fine until the last step, then it gives the error message ... configuration command "codehost-config", ...
    (SuSE)
  • chmod error message 0481-014
    ... If I do the command as root ... but if I use my user account this message occurs. ... but the script fails because of there errors. ...
    (comp.unix.aix)
  • Re: JETCOMP.exe utility switch to path to database to compact
    ... I ran the command line script many times. ... When I enter that command exactly as shown, the following error message ... I assumed from this that CMD required some sort of adjustment to the ...
    (microsoft.public.scripting.vbscript)
  • Re: Run a command from VB Script
    ... I need a way for the vbs to ... but vbs is taking back control too early and my command ... script will pause until the program completes. ...
    (microsoft.public.scripting.vbscript)