Done Option to suppress blank lines in WMIQUERY

May 20, 2008
12,178
133
Syracuse, NY, USA
I might have ... get rid of the blank lines (which I didn't ask for) in, for example,

Code:
v:\> wmiquery /a . "Select Name from Win32_service where state='running'"
Appinfo

AudioEndpointBuilder

Audiosrv

BFE
 
Aug 23, 2010
688
9
Not the first time this question raised.
The blank line is to distinguish the records.

Code:
$ wmiquery /A . "select Name,ProcessId,DisplayName from Win32_service where Started='TRUE'"
DisplayName = Сведения о приложении
Name = Appinfo
ProcessId = 1052

DisplayName = Средство построения конечных точек Windows Audio
Name = AudioEndpointBuilder
ProcessId = 800

DisplayName = Windows Audio
Name = AudioSrv
ProcessId = 608

…
 

Similar threads