VBSCRIPT Not Working

Something has disabled vbscript amd windows scripting on my xp machine.  Can someone tell me how to enable/disable these associations?

Thanks,
Howard
LVL 1
Howard BashSenior Software EngineerAsked:
Who is Participating?
 
cybrexusCommented:
try Start > Run > type "regsvr32 vbscript.dll" (without quotes) and hit enter
See if it solves your problem
0
 
Howard BashSenior Software EngineerAuthor Commented:
The regsvr32 succeeded in registering the dll, but it still opens in notepad when i double click on it.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Howard BashSenior Software EngineerAuthor Commented:
I tried the first URL.  It instructed me to set the file association for vbscript to be : C:\WINDOWS\System32\WScript.exe %13 %*

I thought the program was named vbscript.exe.  But,  I made the change as instructed and it did not work.

The error mesage is :

there is no file extension in "C:\Documents and Settings\My User Name\Desktop\"C:\Documents".

0
 
sramesh2kCommented:
Hi hbash,

Run the .vbs fix for Windows XP from here.

VBScript Files Open With Notepad - The Winhelponline Blog:
http://www.winhelponline.com/blog/vbscript-files-open-with-notepad/

0
 
cybrexusCommented:
yep tried the link above, works well for me, should definitely solve the issue
well found
0
 
Howard BashSenior Software EngineerAuthor Commented:
This fixed the VBS files but the wfs files are still launching notepad.
0
 
cybrexusCommented:
make sure your extension is wsf and not wfs
0
 
Howard BashSenior Software EngineerAuthor Commented:
It is wsf.  It shows an associated icon (same as .vbs).
0
 
cybrexusCommented:
right click on the file > Open With > Choose Program > browse Windows\System32\wscript.exe
check Always use the selected program to open this kind of file
click OK
0
 
sramesh2kCommented:
0
 
Howard BashSenior Software EngineerAuthor Commented:
I am running Windows XP Pro.   Will this vista reg patch work there also?
Thanks,
Howard
0
 
cybrexusCommented:
did you try to set wscript as default program as in my previous comment?
0
 
sramesh2kConnect With a Mentor Commented:
Sorry! The XP version of the fix is here:
http://windowsxp.mvps.org/reg/wsffix_xp.zip
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.