Solved

VBSCRIPT Not Working

Posted on 2008-06-21
15
3,242 Views
Last Modified: 2008-06-24
Something has disabled vbscript amd windows scripting on my xp machine.  Can someone tell me how to enable/disable these associations?

Thanks,
Howard
0
Comment
Question by:Howard Bash
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 3
  • +1
15 Comments
 
LVL 7

Expert Comment

by:cybrexus
ID: 21839524
try Start > Run > type "regsvr32 vbscript.dll" (without quotes) and hit enter
See if it solves your problem
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 21839529
The regsvr32 succeeded in registering the dll, but it still opens in notepad when i double click on it.
0
 
LVL 7

Expert Comment

by:cybrexus
ID: 21839543
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 22

Accepted Solution

by:
orangutang earned 250 total points
ID: 21839571
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 21839603
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
 
LVL 34

Expert Comment

by:sramesh2k
ID: 21839797
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
 
LVL 7

Expert Comment

by:cybrexus
ID: 21839977
yep tried the link above, works well for me, should definitely solve the issue
well found
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 21840701
This fixed the VBS files but the wfs files are still launching notepad.
0
 
LVL 7

Expert Comment

by:cybrexus
ID: 21840745
make sure your extension is wsf and not wfs
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 21841546
It is wsf.  It shows an associated icon (same as .vbs).
0
 
LVL 7

Expert Comment

by:cybrexus
ID: 21843552
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
 
LVL 34

Expert Comment

by:sramesh2k
ID: 21843689
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 21851758
I am running Windows XP Pro.   Will this vista reg patch work there also?
Thanks,
Howard
0
 
LVL 7

Expert Comment

by:cybrexus
ID: 21851894
did you try to set wscript as default program as in my previous comment?
0
 
LVL 34

Assisted Solution

by:sramesh2k
sramesh2k earned 250 total points
ID: 21852629
Sorry! The XP version of the fix is here:
http://windowsxp.mvps.org/reg/wsffix_xp.zip
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question