Windows Script Host

H

Howard Smith

We have a working build of XPe.
However I have just come across a little problem.
Whenever I try and run a vbs script file wscript.exe pops
up and asks about its settings. On a standard XP build it
runs fine in the background. I have copied the reg
settings for HKLM\software\microsoft\Windows scripting
Host, and HKLM\software\microsoft\Windows script Host,
but this makes no difference.
Any help would be greatly appreciated

Howard
 
S

Sean Liming \(eMVP\)

Howard,

I think you might be running into an older known issue with scripting. There
is a missing %1 in the VB script component registry data.

Modify the Registry Data for the Windows Script Engine for the VBS file.
Change HKEY_CLASS_ROOT\VBSFile\Open\Command and add a %1 to the end of the
value%11%\WScript.exe. This will allow you run the scripts from the command
line after FBA is completed.

Regards,

Sean Liming
www.a7eng.com
Author: Windows NT Embedded Step-By-Step and XP Embedded Advanced.
 
R

Rob

Chew Lek Wah is right on this one. That is how I have to
run my system Configuration script on my image which is a
VB Script. I was getting the same thing you were until I
prefaced the Script name with Wscript like Chew Lek Wah is
saying.

Robert
 

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