Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 973
  • Last Modified:

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
0
tcalbaz
Asked:
tcalbaz
1 Solution
 
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
 
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now