alias netstat { write -c netstat.txt var %a = run $+ $ticks .comopen %a WScript.Shell if $comerr { return } if $com(%a,Run,3,bstr,cmd.exe /c netstat > " $+ $mircdirnetstat.txt",uint,0,bool,true) { .comclose %a } .comclose %a }