We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Need to regain VBS association to run scripts

tcalbaz
tcalbaz asked
on
Medium Priority
998 Views
Last Modified: 2012-06-27
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
Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
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
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

Author

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

Ted
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.