如何用bat打开windows powershell窗口后 在新窗口中自动执行
powershell吧
全部回复
仅看楼主
level 2
砍柴人exm😈
楼主
用bat打开windows powershell窗口后 在windows powershell窗口中继续执行bat中命令 就是我想代码全部写好在bat中,双击运行bat就可以打开使用windows powershell自动执行文本中的命令 比如我要新建用户名 需要在windows powershell才有权限可以新建
2019年01月18日 13点01分
1
level 2
砍柴人exm😈
楼主
我顶
2019年01月20日 08点01分
2
level 2
砍柴人exm😈
楼主
我再顶
2019年01月20日 13点01分
3
level 1
rice♬
顶,我完了回答
2019年01月24日 15点01分
4
level 1
职业规划师😈
start-process -file powershell -verb runas -ArgumentList "-noexit get-childitem;get-location"
2019年02月14日 03点02分
5
1