Groups | Blog | Home
all groups > visual studio .net setup > november 2006 >

visual studio .net setup : VS .NET 2003 SP1 messed up .vbs file association



JWilliams
11/19/2006 6:53:14 PM
Windows XP Pro SP2.

After installing Visual Studio .NET 2003 Service Pack 1, my .vbs file
association has changed. Double-clicking a .vbs VBScript file now opens the
file in Microsoft Development Environment (the VS editor).

I changed the file association in Windows Explorer to Microsoft Console
Based Script Host (one of the recommended programs), however now
double-clicking the .vbs file causes a command window to quickly flash open
and close and the script is not executed. Right-clicking the file reveals
that the default action (in bold) is now Open with Command Prompt.

How do I change the file association for .vbs files back to what it was?
I.e. double-clicking the .vbs file runs the script.

This is the second problem with file associations caused by SP1.

thanks,


JWilliams
11/20/2006 12:25:38 AM
Problem solved. I simply reinstalled Script Host 5.6 -
http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en

[quoted text, click to view]

AddThis Social Bookmark Button