QuoteJohnHell
You are making things harder.
Edit the file type (.js, .vba, .whatever), and set another action as default. For example, notepad, to edit it.
Your advice is fine but only as long as you don't have tools to run which need an interpreter/wscript.exe.
If I'd change the file association, the script would be passed to notepad or whatever I'd set the association for and
Forum:
Off-Topic