Showing posts with label CMD Tricks. Show all posts
Showing posts with label CMD Tricks. Show all posts

Tuesday, 31 December 2013

Drag and Drop Files to Change Path

If you are already in command prompt, and you want to copy the exact path to a folder or file to run the file or change the present working directory, you can simply drag and drop the file or the folder on the command prompt.
The path of the dropped file or folder will show up in quotes.

Run Commands Simultaneously

You can put && between two commands and execute them one after another. The command on the left will execute first followed by the command on the right of the double ampersand.

Get Help for Command


Well let’s say you know about a command, but you are not sure how it works. Not a problem, all you need to do is suffix the command with /?  and execute it. If the command is valid, the command prompt will give you all the information related to it.

Watch Star Wars in ASCII


For all my nerdy friends who are diehard fans of Star Wars, you can actually watch the Star Wars Episode IV movie in the command prompt. Though it would be in ASCII, it will be fun. To start the movie, open command prompt, type in telnet towel.blinkenlights.nl. and press enter. Don’t forget the popcorns though

How To Find Computer Name Using Command Prompt

Click on the start button, type cmd in the search box (In windows XP and older version, open run command, type “cmd” and press enter). Click on the result.

A command prompt window will open up. Type the word “hostname” and press enter.


Your computer name will appear. In my case it is “KETAN-PC”.


This way you can easily find your computer’s name. Simple and quick.