vefatica May 12,845 164 Dec 16, 2020 #1 ... 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:\>
... 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:\>
Joe Caverly Aug 1,914 68 Dec 16, 2020 #2 A temporary solution; Code: wmiquery /a . "select name from Win32_service where ProcessId=1032" | tpipe /simple=10 Joe
A temporary solution; Code: wmiquery /a . "select name from Win32_service where ProcessId=1032" | tpipe /simple=10 Joe
Joe Caverly Aug 1,914 68 Dec 16, 2020 #3 Or, create an alias; Code: RemoveBlankLines=tpipe /simple=10 then Code: wmiquery /a . "select name from Win32_service where ProcessId=1032" | RemoveBlankLines Joe
Or, create an alias; Code: RemoveBlankLines=tpipe /simple=10 then Code: wmiquery /a . "select name from Win32_service where ProcessId=1032" | RemoveBlankLines Joe
vefatica May 12,845 164 Dec 16, 2020 #4 Joe Caverly said: Or, create an alias; Code: RemoveBlankLines=tpipe /simple=10 then Code: wmiquery /a . "select name from Win32_service where ProcessId=1032" | RemoveBlankLines Joe Click to expand... 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.
Joe Caverly said: Or, create an alias; Code: RemoveBlankLines=tpipe /simple=10 then Code: wmiquery /a . "select name from Win32_service where ProcessId=1032" | RemoveBlankLines Joe Click to expand... 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.
Joe Caverly Aug 1,914 68 Dec 16, 2020 #5 Yikes, that is slow. I've changed my alias to Code: RemoveBlankLines=findstr /r "." Thanks for the benchmarks. Joe
Yikes, that is slow. I've changed my alias to Code: RemoveBlankLines=findstr /r "." Thanks for the benchmarks. Joe