Jump to content

CMD help

TommyTwommy
Go to solution Solved by TommyTwommy,

nvm i found out, it goes like this ipconfig | findstr Gateway

I can't remember how to print a row that contains certain text using double pipe method for example

 

ipconfig || gateway

 

it will only print the row that contains gateway.. 

 

help?

CPU & COOLER - INTEL i9 12900K | NZXT KRAKEN X62

MBO - MSI Z690 EDGE

GPU - ASUS GEFORCE RTX 3080 TUF

RAM - 2x16GB KINGSTON FURY 3200MHZ

PSU - PHANTEKS REVOLT PRO 1000W 80 PLUS GOLD

SSD #1 - CORSAIR SN850 1TB

SSD #2 - CORSAIR SN850X 4TB

SSD #3 - INTEL 660p 2TB

CASE - PHANTEKS ECLIPSE P500A D-RGB

MOUSE #1 - LOGITECH G502 X Wireless

KEYBOARD - AKKO 5108B PLUS

SPEAKERS - SVS PB-1000 + 2x ADAM A3X

HEADSET #1 - SENNHEISER IE-300

HEADSET #2 - FOSTEX TR-X00 PURPLEHREART

AMP/DAC - MAYFLOWER ARC

OS - WINDOWS 10 PRO

DISPLAY 1 - LG OLED42C2

DISPLAY 2 - XIAOMI 2K GAMING

PHONE - SAMSUNG GALAXY S23+ 

Link to comment
Share on other sites

Link to post
Share on other sites

29 minutes ago, berny22 said:

I can't remember how to print a row that contains certain text using double pipe method for example

 

ipconfig || gateway

 

it will only print the row that contains gateway.. 

 

help?

What info are you trying to get out of the Command prompt?

Link to comment
Share on other sites

Link to post
Share on other sites

57 minutes ago, robeng said:

What info are you trying to get out of the Command prompt?

that was just an example.. i'm going to use it on multiple things.. but i used ipconfing || gateway as an example.. i want cmd to output only the row that contains gateway in the whole ipconfig output

CPU & COOLER - INTEL i9 12900K | NZXT KRAKEN X62

MBO - MSI Z690 EDGE

GPU - ASUS GEFORCE RTX 3080 TUF

RAM - 2x16GB KINGSTON FURY 3200MHZ

PSU - PHANTEKS REVOLT PRO 1000W 80 PLUS GOLD

SSD #1 - CORSAIR SN850 1TB

SSD #2 - CORSAIR SN850X 4TB

SSD #3 - INTEL 660p 2TB

CASE - PHANTEKS ECLIPSE P500A D-RGB

MOUSE #1 - LOGITECH G502 X Wireless

KEYBOARD - AKKO 5108B PLUS

SPEAKERS - SVS PB-1000 + 2x ADAM A3X

HEADSET #1 - SENNHEISER IE-300

HEADSET #2 - FOSTEX TR-X00 PURPLEHREART

AMP/DAC - MAYFLOWER ARC

OS - WINDOWS 10 PRO

DISPLAY 1 - LG OLED42C2

DISPLAY 2 - XIAOMI 2K GAMING

PHONE - SAMSUNG GALAXY S23+ 

Link to comment
Share on other sites

Link to post
Share on other sites

nvm i found out, it goes like this ipconfig | findstr Gateway

CPU & COOLER - INTEL i9 12900K | NZXT KRAKEN X62

MBO - MSI Z690 EDGE

GPU - ASUS GEFORCE RTX 3080 TUF

RAM - 2x16GB KINGSTON FURY 3200MHZ

PSU - PHANTEKS REVOLT PRO 1000W 80 PLUS GOLD

SSD #1 - CORSAIR SN850 1TB

SSD #2 - CORSAIR SN850X 4TB

SSD #3 - INTEL 660p 2TB

CASE - PHANTEKS ECLIPSE P500A D-RGB

MOUSE #1 - LOGITECH G502 X Wireless

KEYBOARD - AKKO 5108B PLUS

SPEAKERS - SVS PB-1000 + 2x ADAM A3X

HEADSET #1 - SENNHEISER IE-300

HEADSET #2 - FOSTEX TR-X00 PURPLEHREART

AMP/DAC - MAYFLOWER ARC

OS - WINDOWS 10 PRO

DISPLAY 1 - LG OLED42C2

DISPLAY 2 - XIAOMI 2K GAMING

PHONE - SAMSUNG GALAXY S23+ 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×