Question : Create batch .bat file that does not wait for an application

I want to create a batch file that opens my database file.  I have created the below which works fine, except that it does not close itself until after the database file close.  The database file will remain open for a few days.  I would like to launch the .bat file then have it immediately close itself so that the black command window does not remain open.

Currently when I launch this batch file, the black command window stays on  the screen, I wish to avoid this.

@Echo Off
Echo Launch Adam - Henry Starter File
Echo The launch will will be delayed 5 seconds
Echo Press ctrl-C to cancel
rem 5 second delay
ping 1.1.1.1 -n 1 -w 5000 >Nul
call "C:\Documents and Settings\syncMachine\Desktop\databaseFile.puy"
exit

Thanks for your help

Answer : Create batch .bat file that does not wait for an application

The start command will open the databaseFile.puy with the associated application, and then end itself.
The batch script will then continue with the next line (and in this case close the shell window), while the application keeps running.
Note the empty pair of quotes directly after "start"; they are MANDATORY.
Random Solutions  
 
programming4us programming4us