Solved

VBSCRIPT Not Working

Posted on 2008-06-21
15
3,232 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:hbash
  • 6
  • 5
  • 3
  • +1
15 Comments
 
LVL 7

Expert Comment

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

Author Comment

by:hbash
Comment Utility
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
Comment Utility
0
 
LVL 22

Accepted Solution

by:
orangutang earned 250 total points
Comment Utility
0
 
LVL 1

Author Comment

by:hbash
Comment Utility
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
Comment Utility
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
Comment Utility
yep tried the link above, works well for me, should definitely solve the issue
well found
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 1

Author Comment

by:hbash
Comment Utility
This fixed the VBS files but the wfs files are still launching notepad.
0
 
LVL 7

Expert Comment

by:cybrexus
Comment Utility
make sure your extension is wsf and not wfs
0
 
LVL 1

Author Comment

by:hbash
Comment Utility
It is wsf.  It shows an associated icon (same as .vbs).
0
 
LVL 7

Expert Comment

by:cybrexus
Comment Utility
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
Comment Utility
0
 
LVL 1

Author Comment

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

Expert Comment

by:cybrexus
Comment Utility
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
Comment Utility
Sorry! The XP version of the fix is here:
http://windowsxp.mvps.org/reg/wsffix_xp.zip
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now