Solved

VBSCRIPT Not Working

Posted on 2008-06-21
15
3,241 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

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…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

756 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