Rosemarie,
Copy and paste this to a text file and save it as a .reg; run it and it will
fix your problems.
*************************************
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\VBSFile\Shell\Open\Command]
@="C:\\WINDOWS\\system32\\WScript.exe %1"
[HKEY_CLASSES_ROOT\VBSFile\Shell\Open\Command]
@="C:\\WINDOWS\\system32\\CScript.exe %1"
[HKEY_CLASSES_ROOT\JSEFile\Shell\Open\Command]
@="C:\\WINDOWS\\system32\\WScript.exe %1"
[HKEY_CLASSES_ROOT\JSEFile\Shell\Open2\Command]
@="C:\\WINDOWS\\system32\\CScript.exe %1"
[HKEY_CLASSES_ROOT\JSFile\Shell\Open\Command]
@="C:\\WINDOWS\\system32\\WScript.exe %1"
[HKEY_CLASSES_ROOT\JSFile\Shell\Open2\Command]
@="C:\\WINDOWS\\system32\\CScript.exe %1"
[HKEY_CLASSES_ROOT\VBEFile\Shell\Open\Command]
@="C:\\WINDOWS\\system32\\WScript.exe %1"
[HKEY_CLASSES_ROOT\VBEFile\Shell\Open2\Command]
@="C:\\WINDOWS\\system32\\CScript.exe %1"
[HKEY_CLASSES_ROOT\WSFFile\Shell\Open\Command]
@="C:\\WINDOWS\\system32\\WScript.exe %1"
[HKEY_CLASSES_ROOT\WSFFile\Shell\Open2\Command]
@="C:\\WINDOWS\\system32\\CScript.exe %1"
[HKEY_CLASSES_ROOT\WSHFile\Shell\Open\Command]
@="C:\\WINDOWS\\system32\\WScript.exe %1"
[HKEY_CLASSES_ROOT\WSHFile\Shell\Open\Command]
@="C:\\WINDOWS\\system32\\CScript.exe %1"
*************************************
Regards,
Sean Gahan
Rosemarie said:
Hello!
My problem is that when I try to run a VBscript it doesn't work.
I have the Windows Script Engine component, and I added to the data in
the registry
key %1, and also tried "%1"%* that I found in the registry on another
machine.
But it still won't work; the message is now that the VBScript is not a
valid win32
application.
Any help is appreciated
Rosemarie