If you change the default action on script files to Edit instead of Run, you will no longer be able to run these scripts as designed.
That being said... In Windows Explorer, go to Tools -> Folder Options menu item. Click the File Types tab and once the list is populated, find type VBS (or JS) and click the Change button to change the default association to NotePad.
BuGlen is quite right in issuing his warning. If you do this you will need to execute your vbscripts with a command line such as "CSCRIPT.EXE MyScript.vbs" which can be a real pain in the neck.
I have found it helpful to simply add a Notepad shortcut to the SendTo folder. That way you can quickly right click the file and choose SendTo Notepad to edit.
Thnaks to all, but I've solve the problem. Using regedit I've changed the Open key so that the first two options after the right-click is used are: Open in Notepad, Execute Script.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.