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;