I got bored today an through these together real quick...
This one will query the highlighted hostname and leave the command window open:
cmd.exe /x /c c:\progra~1\hfnetchk\hfnetchk -h %E% -s 1 & pause
This one will dump it to a file and then display the text file afterwards:
cmd.exe /x /c c:\progra~1\hfnetchk\hfnetchk -h %E% -s 1 > c:\temp\hfout.txt & notepad c:\temp\hfout.txt
This one will query the highlighted hostname and leave the command window open:
cmd.exe /x /c c:\progra~1\hfnetchk\hfnetchk -h %E% -s 1 & pause
This one will dump it to a file and then display the text file afterwards:
cmd.exe /x /c c:\progra~1\hfnetchk\hfnetchk -h %E% -s 1 > c:\temp\hfout.txt & notepad c:\temp\hfout.txt
Comment