my form is calling a batch file which runs sql scripts for me.

the problem is, after my sql scripts runs it exist to the main
DOS window and wait for me to close it.

I have EXIT at the end in both scripts and batch files.

any idea!!!!!!