Thursday, November 29, 2007

Avoid new console creation.

When another process (.exe) is started by a dos command, usually we see the console opened in background as a parent process. You can use START command with /B parameter to start an application without creating a new console window.

Example in XP (startSite.bat):
start /B C:\WINDOWS\ServicePackFiles\i386\iexplore.exe