Solved

VBSCRIPT Not Working

Posted on 2008-06-21
15
3,238 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
  • 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 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