Link to home
Start Free TrialLog in
Avatar of ReneGe
ReneGeFlag for Canada

asked on

Windows Batch File - Combing output in a single line

Hi there,

I am looking for a way to combine both output lines in a single line, and without using the FOR command.

I remember a long time ago, I think paultomasi or billprew did this but I don`t remember how.

Thanks and cheers,
Rene

@ECHO OFF
:Home
PING -n 1 192.168.1.1 | FINDSTR /i "statistics packets"
PING 192.168.11.0 /w 5000 /n 1 >NUL 2>&1
GOTO Home

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ReneGe

ASKER

Thanks mate :)
Cheers