Saturday, November 7, 2009

find text in the result of command

Some times when we execute commands we got lot of data that we do not want so if you want to search a result on command, you can pipe your command to find command like the below

cmd /c "net start | %SystemRoot%\system32\find /i "Reporter Service"