1

"Commands that provide a lot of information should be run in a separate command shell with output piped through a pager (the “more” command), and with an appropriate title on the second command window. " This is what i am supposed to do.

K V
  • 13
  • 3
  • ipconfig.exe |<-"Pipe" sign here more. Try `ipconfig | more` – Anubioz Jan 14 '16 at 22:42
  • i've already tried that but it just displays the output one screen at a time, instead of a different shell. @Anubioz – K V Jan 14 '16 at 22:50

2 Answers2

1

how to pipe the output of a command (let's say ipconfig) in another cmd window?

It sounds like you want to execute a command from a command prompt window but have that open in a separate command window and also give a specific title to that new command prompt window (see below example).

EXAMPLE

SET Command=IPCONFIG
SET Title=This is what i am supposed to do

START "" "CMD /K TITLE "%Title%" & %Command%"
Pimp Juice IT
  • 1,077
  • 1
  • 9
  • 16
0

start cmd /k then the command

example: start cmd /k ipconfig /all

Mass Nerder
  • 1,007
  • 5
  • 6