[Solved] How to change association of VBS in Windows system? - Slash Engineer 要多斜有多斜

Breaking

Slash Engineer 要多斜有多斜

程式設計的學習過程 (環境設置、開發環境、程式設計、語法練習、資料結構等等...) 99'暑假:六月初開始. 社會新鮮人:十一月初開始.

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

沒有留言:

張貼留言

問題沒有大小或好壞