Cool way to do ipconfig (or any dos command)


  1. Posts : 399
    Microsoft Windows 7 Ultimate 32-bit 7601
       #1

    Cool way to do ipconfig (or any dos command)


    Cool way to do ipconfig (or any dos command)
    I just learned this one today I can’t believe that after 20 or more years of playing around with computers that I have not found it sooner. Whenever I do a dos command and want to save it I do this
    Code:
    ipconfig /all >> C:\tcp.txt
    ( If want to run that command you have to run it as administrator ) Then I would open tcp.txt and copy and paste that to where I actually wanted it . Today I found out how to skip that step and send it directly to the clipboard
    Code:
    ipconfig /all | clip
    and now I can just right click and paste it wherever I like

    And here is the result


    Windows IP Configuration
    Host Name . . . . . . . . . . . . : Compaq
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Broadcast
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    Wireless LAN adapter DLINK:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : D-Link AirPlus G DWL-G510 Wireless PCI Adapter(rev.B)
    Physical Address. . . . . . . . . : 00-15-E9-A8-FF-BB
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Realtek RTL8101E Family PCI-E Fast Ethernet NIC (NDIS 6.20)
    Physical Address. . . . . . . . . : 00-1D-92-B0-84-B3
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::e0c6:360f:8172:ce23%10(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.137.220(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.137.1
    DHCPv6 IAID . . . . . . . . . . . : 234888594
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-24-08-1E-00-1D-92-B0-84-B3
    DNS Servers . . . . . . . . . . . : 8.8.8.8
    8.8.4.4
    NetBIOS over Tcpip. . . . . . . . : Enabled
    Ethernet adapter VMware Network Adapter VMnet1:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
    Physical Address. . . . . . . . . : 00-50-56-C0-00-01
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::c04a:f63f:a4f2:163a%30(Preferred)
    Autoconfiguration IPv4 Address. . : 169.254.22.58(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.0.0
    Default Gateway . . . . . . . . . :
    DHCPv6 IAID . . . . . . . . . . . : 503337046
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-24-08-1E-00-1D-92-B0-84-B3
    DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
    fec0:0:0:ffff::2%1
    fec0:0:0:ffff::3%1
    NetBIOS over Tcpip. . . . . . . . : Enabled
    Ethernet adapter VMware Network Adapter VMnet8:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
    Physical Address. . . . . . . . . : 00-50-56-C0-00-08
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::2098:5fb3:e79e:9407%31(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.59.1(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    DHCPv6 IAID . . . . . . . . . . . : 520114262
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-24-08-1E-00-1D-92-B0-84-B3
    DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
    fec0:0:0:ffff::2%1
    fec0:0:0:ffff::3%1
    NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter Teredo Tunneling Pseudo-Interface:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter isatap.{3B1AB624-0158-41BF-BDB7-69787DB40552}:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter isatap.{AD24C217-F3BE-40C8-98FD-2C63618D5602}:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter isatap.{8D229DBC-D64C-4418-9EDE-293C6019BFE0}:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter #6
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter isatap.{CC2B8B16-96EB-4218-BDEA-385B78739BA7}:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter #7
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Last edited by Digital Life; 10 Feb 2014 at 21:43. Reason: Beacause I can
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    Thanks for sharing. Nice find. I did not know that either.


    You can use code boxes in your posts to prevent lines of info from wrapping at just the wrong point:

    Code:
    ipconfig /all | clip



    This is how I saw the info wrap in your post:

    Cool way to do ipconfig (or any dos command)-codebox.png

    It would be worse if I were reading your post via cell phone.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:40.
Find Us