Defrag Tools #195 – Console Command Favorites | Defrag Tools

This post has been republished via RSS; it originally appeared at: Channel 9.

In this episode of Defrag Tools, we geek out on our favorite Command Prompt commands.

Command covered:

where.exe - Where

Shows where a executable/script is on the PATH environment variable

  • where notepad.exe

ipconfig.exe - IP Configuration

IP Address Configuration - Basic

  • ipconfig

IP Address Configuration - Advanced/All

  • ipconfig /all

IP Address Renewal/Reset

  • ipconfig /flushdns
  • ipconfig /release
  • ipconfig /renew
  • ipconfig /registerdns

findstr.exe - Find String

  • /s - Sub Directories
  • /n - Line Number
  • /p - Search Pattern. e.g. Foo*Bar to match: Footastic Barcode
  • /c - Escaped characters. e.g. /c:"\"Foo\" Bar" to find the text: "Foo" Bar

Contact us at defragtools@microsoft.com and/or @defragtools

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.