Need to regain VBS association to run scripts

Notable Guru's
I accidently associated my vbs scripts with an editor.  Now I need to make it run again when I double click on it.
Can anyone help?

Thank you

Ted
LVL 1
tcalbazAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vinnyd79Commented:
try holding down shift while right clicking a .vbs file. Then choose "Open With" Then "Choose Program".Then hit the "Other" button. Browse to wscript.exe in your system32 folder and select it while making sure the box that says "Always use this program..." is checked.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MilanKMCommented:
simply go to control panel & open folder option. Then go to the tab "File Types". Here you can find many extensions & among those select VBS. Then Click the "Advance" button. Now the "Edit File Type" window will open. Here from actions (Edit, Open, Open2, Print) select Open & click Edit. Now on the "Application used to perform Action" just paste: C:\WINNT\System32\WScript.exe "%1" %*

That's All
MilanKM
0
AtanAsfalothCommented:
File associations can easily be managed through windows explorer:

Open windows explorer (Start --> Run --> explorer)
Click Tools --> Folder Options
Go to the File Associations Tab and you can do whatever you want with them (I have a Dutch WinXP so I can not guarantee that the tab is called 'File Associations', In my version it's the third tab from the left)

Atan Asfaloth

0
tcalbazAuthor Commented:
I think all of you are right.
But vinnyd79 was first.
Thank you all

Ted
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.