A couple of ways...<br>
1) With explorer, find command.com (cmd.exe on NT). (Type 'echo %COMSPEC%' at an MSDOS prompt to find the one it will use.) From explorer, right click on it and set the close on exit check box. save and exit.<br>
<br>
2) Launch the batch file with the /C (run command and exit)switch:<br>
on NT, CMD.EXE /C MYBATCH.BAT<br>
on W9x, COMMAND.COM /C MYBATCH.BAT<br>
Though, there is a COMMAND.COM on NT, it doesn't work very well in this case (at least not from VB). A lot of strange side effects.<br>
<br>
#2 was on MSDN, but I could not find the reference to leave the link here.<br>
<br>
Good Luck!