I used the command "shell" to open a DOS program and my problem is that once the DOS program is done, the windows stay open. I tried to hide the windows, but it will just stay loaded in memory but invisible.

I'm pretty sure I could close it using the ID it return but I have no idea how to do it in VB.