[Solved] How to change association of VBS in Windows system? - S7an Insights

Breaking

S7an Insights

生活 × 技術 × 分享 讓複雜的問題,有條理地解決。

2020年4月19日 星期日

[Solved] How to change association of VBS in Windows system?



I set up Notepad++ as a default vbs program to see the content easily. 

Then Windows pop up a error message about vbs scripts cannot be executed when I trying to install Application which need to run vbs.



So, I change it to [Windows Based Script Host to execute]. But even I setup [Windows Based Script Host] as a default application to execute vbs, the installation still not working.


Here is a command you can try: 
cmd(Run as admin)  > assoc .vbs=VBSFile

After that, the installation is working now.




Ref:
https://www.itprotoday.com/compute-engines/jsi-tip-2825-how-do-i-change-default-script-host-wscript-cscript-or-visa-versa

沒有留言:

張貼留言

問題沒有大小或好壞