Windows,powershell execute *.bat file

1.New notepad++,edit as below,save as exec.bat;

.\ConsoleApplication1.exe 100;

2.Powershell run the exec.bat;

.\exec.bat;

 

 3.Stop the executed bat program

Ctrl+C;
Y;

 

 

 

posted @ 2022-05-24 17:19  FredGrit  阅读(45)  评论(0编辑  收藏  举报