Windows 如何设置 WSL 开机启动并执行脚本以及向 Windows 桌面发送通知 |
您所在的位置:网站首页 › ros开机自启动脚本 › Windows 如何设置 WSL 开机启动并执行脚本以及向 Windows 桌面发送通知 |
环境:WIndows 10 和 WSL1 其它版本也是类似的思路 首先设置 WSL 在 Windows 开机时启动 打开 Windows 开机启动执行目录 Win + R 输入 shell:startup,新建一个 vbs 脚本这个时候就可以在 Windows 开机的时候启动 WSL 并执行需要的服务脚本啦 WSL 向 Windows 桌面发送通知下面只需要在 WSL 里执行 PowerShell 命令就可以啦 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |