相关疑难解决方法(0)

将 SH 脚本关联到 Windows bash

如何将所有.sh文件关联到 Windows 10 周年更新中包含的新 BASH?

我曾尝试.sh使用默认系统提示关联文件,C:\Windows\System32\bash.exe但它只是闪烁控制台窗口而没有结果。

bash windows-10 windows-subsystem-for-linux windows-10-v1607

9
推荐指数
2
解决办法
4628
查看次数

将 Windows 10 上的 linux shell (.sh) 脚本与 Bash 或 WSL 相关联

如果您曾尝试通过双击在 Windows 10 上运行 .sh linux 脚本,在默认情况下将其分配给 bash.exe(Windows 10 的 Ubuntu Bash)后,您很可能注意到它不会打开。

为什么它不打开,我该如何解决这个问题?

windows bash sh windows-10 windows-subsystem-for-linux

6
推荐指数
1
解决办法
1万
查看次数