I have a batch file which moves a few files and starts a program and for some reason, after the batch file goes through all the commands in it, it doesn\'t close. The comman
Try start "" "C:\folder1\application1" in both places and remove the taskkill command (or replace it with exit/b if you need to). The extra double quotes are necessary here.