Archive: DOS Windows


DOS Windows
I am running the following commands to add a firewall exception for Symantec AntiVirus in XP SP2.

ExecWait 'netsh firewall add allowedprogram "C:\Program Files\Symantec AntiVirus\rtvscan.exe" VirusScan(rtvscan.exe) ENABLE'
ExecWait 'net stop "Symantec AntiVirus"'
ExecWait 'net start "Symantec AntiVirus"'

However I am realizing that when I do run commands like this, the ugly dos windows pop up (one for each command). Now I could simplify and put these in a batch so that only one window pops up. However, is there any way I can redirect the output of them to the NSIS display, have them start minimized, or supress those windows entirely.

Thanks for your help.


Scratch this post. I thought I had already searched the forum. But I just tried again and found several post about this. Sorry. I tried to just delete this but it wouldn't let me.