I\'m running a batch file that has these two lines:
start C:\\Users\\Yiwei\\Downloads\\putty.exe -load \"MathCS-labMachine1\" \"C:\\Program Files (x86)\\Xmi
Add this code at the end of the execution code
c:\windows>exit