1. Watch Star Wars from Command Line :
Are you a Star Wars fan. Yes, then you should really use this one. Go to Command Line and type
telnet towel.blinkenlights.nl and just enjoy Star Wars Episode IV.
Please note you need to have telnet enabled on your PC. To enable telnet,
- Go to Control Panel
- Search for Turn Windows Features
- Select Turn Windows Features On or Off
- From the list select telnet client and telnet Server.
- Click OK. It will take around a minute or so and Telnet will start working
2. Enable Quick Edit Mode :
Quick Edit mode makes it really simple to copy paste text inside the command window. Here is how to Enable.
- Right Click on Command Line Title Bar and select Properties.
- In the options tab select the Quick Edit Mode checkbox and click OK
Now whenever inside the command Window select the text, it will get copied. Right Click inside command window, it will get pasted.
3. Run Command Line as Administrator :
There are some tasks that require administrator privileges. To run command line as Administrator, search cmd in Start Menu. Right click and Select Run as Administrator.
4. Open Command Window in a Folder :
In windows explorer, hold down shift key and right click. In the context menu select Open Command Window here. This is a useful trick as it eliminates typing the whole path in order to navigate inside the command Window. Please note this trick only works in Windows 7 and later.
5. Command history :
In command Window press F7, it will open a pop up showing the commands entered in the current command Window session.
6. Run two commands in one go :
To do this trick, type first command, then ‘&&’ and then the second command. For example
cls && dir
will clear the screen and then list the files,folders inside the current directory.
7. Direct Output to a File :
This is a useful trick to know especially when the output of the command is huge. To direct output to a file, type the command followed by ‘>’ then the file name. File name can be absolute or relative. For example
tree > structure.txt
command will save the directory structure to a file named structure.txt