Page 1 of 1

Close CMD after running batch

Posted: 31 Mar 2021 15:19
by tacoboy
Hello, I created a short Batch file to help me perform a common action more quickly.
The CMD prompt stays open after my Batch file runs.
How do I make the CMD prompt close. I figured "exit" would do it - but not working

I am using Windows 10 & here is my shot script

------------------------------------------------------------------
@ECHO OFF
cmd.exe /K taskkill /F /IM "AdobeGCClient.exe" /T
exit

Re: Close CMD after running batch

Posted: 31 Mar 2021 15:29
by Squashman
Remove cmd.exe /K