Done Get rid of WMIQUERY's blank lines ...

May 20, 2008
11,867
121
Syracuse, NY, USA
... in situations like the one below (or give me the option to do so).

Code:
v:\> wmiquery /a . "select name from Win32_service where ProcessId=1032"
BrokerInfrastructure

DcomLaunch

PlugPlay

Power

SystemEventsBroker


v:\>
 
May 20, 2008
11,867
121
Syracuse, NY, USA
Or, create an alias;
Code:
RemoveBlankLines=tpipe /simple=10
then
Code:
wmiquery /a . "select name from Win32_service where ProcessId=1032" | RemoveBlankLines

Joe
or ffind /k /m /v /e"." (.148 s)
or grep . (.081 s)
or findstr /r "." (.086 s)

TPIPE is, by far, the slowest at .570 s.