crp0499
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER