Skip to main content

Posts

Showing posts with the label command

Secrets Revealed Part III

The Best Command Line Tricks : - Save A List of Files to a Text File by Extension dir *.ext /s /b > files.txt This command line will create a file called files.txt . When you open this file, there will be a complete list of all the files in that directory and all subdirectories with the .ext extension. You can then open up this text file in any text editor and work this the information.By changing the ext part, you can select different files. For example, if you wanted to list all of the PDF documents, you would type: dir *.pdf /s /b > files.txt Get Your IP Address Information ipconfig /all This will retrieve a pile of information about your network connection and IP information. From this command, you can get: Host Name Primary DNS Suffix Node Type IP Routing Enabled WINS Proxy Enabled DNS Suffix Search List Connection-specific DNS Suffix Network Adapter Description Physical (MAC) Address DHCP Enabled IP Address Subnet Mask Default Gateway DNS Servers G