相关疑难解决方法(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 上的 Ubuntu 或适用于 Linux 的 Windows 子系统 (WSL) 上使用 Bash 将文件拖放到 .sh 脚本中吗?

我想通过简单地将多个文件拖到脚本文件上来将多个文件作为 Windows 10 中 .sh 脚本的参数传递;这可能吗?

linux script bash windows-10 windows-subsystem-for-linux

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