a little .bat file I made
The obvious question would be, did the command window pop up before you put the batch file in there? If it is, I would bet that an application called by your batch file briefly opens a window, then closes once the application has started.