4 Useful Windows Command Prompt Tricks To Know

Using the Windows command prompt can often be quicker for certain tasks like creating files and redirecting command output. Although it does not get as much spotlight as the Linux command-line, here are some useful Windows command prompt tricks that you should know. 1. Create files: Do you know that you can directly create files through the Windows command prompt? Use the copy con command...

Two Ways To Directly Open Folder Specific Command Prompt In Windows 8

Using the command prompt in Windows can often simplify tasks or make them quicker to perform. In Windows 7 and 8, there are ways to directly make a command prompt windows open that is specific to a folder. What this means is that there is no need to first open a default command prompt and then change directory to a particular folder. Here are two ways to do to directly open a command prompt with...

How To Generate A List Of All Available Commands In Windows Command Prompt

The Windows command prompt has many useful commands that can do useful things. To make a list of these commands for reference, open the command prompt (Windows key + R) and type : cmd Once at the command prompt, simply dump the contents of the “help” command to an external text file by typing : help >> pathwherethefileistobekept\filename.txt In this example, file named commandlist.txt...

How To Quickly Find Out DNS Server Information In Windows

nslookup through Windows command prompt
Here is a quick way to find out the primary DNS server IP address in use by Windows  : 1. Open Windows command prompt and simply type “nslookup”. Type “quit” to exit back to the command prompt. 2. This will display the primary/preferred DNS server being used by Windows. This can be useful for troubleshooting connectivity issues as well as for reference. To get the details...

Quickly Configure DNS Server IPs From Windows Command Prompt

Setting DNS server IP addresses through Windows command prompt
The common way to set IP addresses for primary and secondary DNS  servers in Windows is through Network and Sharing Center > Change Adapter Settings followed by selecting “Properties” of the specific adapter and then configuring IP settings. All of the above can be done through just two lines from Windows command prompt. Suppose DNS server IPs to be set are 208.67.220.220 and 208.67.222.222...

Quickly View File Contents Using Windows Command Prompt

Opening log files through Windows command prompt
It is possible to view contents of any file directly using the Windows command prompt. To do this : 1. Open Windows command prompt (Windows orb > in search box, type “command prompt” or All Programs > Accessories > Command Prompt). 2. Simply type the following : type filename.ext This will display the contents of file specified. (Ensure that the correct file path is specified,...