0
点赞
收藏
分享

微信扫一扫

开机自启动电脑热点

爱情锦囊 2022-02-09 阅读 60
linux

1.powersell查询一下默认的对bat文件的权限

2.写一个自启动脚本

pushd %~dp0
powershell.exe -command ^
  "& {set-executionpolicy Remotesigned -Scope Process; .'.\wifi.ps1' }"
popd
注意最后不要有pause,否则启动计划那可能报错.

3.最后在启动计划中设置启动

举报

相关推荐

0 条评论