bat file question? Need help!

Adul

Elite Member
Oct 9, 1999
32,999
44
91
danny.tangtam.com
exit should close a dos window shouldn't it?

It wont for some reason in my bat file. ANy ideas?

Can I run it minimized?
and then close?

help
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
To make sure the DOS window closes after the batch file finishes, you need to make an MS-DOS shortcut to the batch file. Right click on the file, click properties, the program tab, and check the "close on exit" checkbox.

Edit: The run minimized option is just above that checkbox.

This shortcut will be run whether you run the shortcut or the batch file, as long as they have the same name and are in the same directory.