Link to home
Start Free TrialLog in
Avatar of crp0499
crp0499Flag for United States of America

asked on

Batch script help!

I have a text file that the data is on its own line.

example:
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4
192.168.1.5
192.168.1.6


and I would like to read from the text file in a batch script I am writing so that it is output on the screen in columns.

example
192.168.1.1     192.168.1.2     192.168.1.3
192.168.1.4     192.168.1.5     192.168.1.6

or

192.168.1.1     192.168.1.3     192.168.1.5
192.168.1.2     192.168.1.4     192.168.1.6

Whichever way is easier or a script for both if it can be done.

Thank you in advance
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

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 crp0499

ASKER

I will open a new question, I also want to see if it can be sorted in the right order.