Exit a batch file

Associate
Joined
31 Jan 2007
Posts
1,860
Hey,
I ahve written a small .bat file whcih I am going to place into my startup folder. When I run the batch file, a command line window appears but doesn't close itself automatically. What can I add to the end of the file to make the window close?
 
"D:\Neil\Documents\Small Single Programs\FreeFileSync\64 Bit\RealtimeSync.exe" "D:\Neil\Documents\Config and Plugins\FreeFileSync\keepass_to_dropbox.ffs_batch"

exit
 
Right, I tried it exactly as you posted above and it then comes up with a dialog asking what program should the .ffs_batch file be opened with

That should not be showing up. If I take out the start command then it wokrs as I want except the command window does not go away.
 
Back
Top Bottom