Huge Discounts on Mobiles, Books, Cameras, Computers etc: @Flipkart
Flipkart.com
Showing posts with label dos. Show all posts
Showing posts with label dos. Show all posts

Tuesday, October 13, 2015

Create multiple folders in a path at once

Ever wanted to recreate a path (folder structure) in one shot, without creating folder by folder?!

The easiest way to do this on Windows is:
1) Go to Run, type cmd
2) Command Prompt would open, there type following command
3) md <your_path>

eg: md folder1\folder2\folder3\folder4\folder5

All 5 folders (directories) will be created as per above structure with a single command! Isn't it cool!

For more info on above command type md /?

md is same as mkdir!



Monday, February 16, 2015

Open Command Window Here


When you are doing some hardcore development you may have to run many things in different console (CMD/Command Prompt/DOS) windows. Usually the fastest way is to go to Run, type cmd + Enter and cd to the desired location. There is an even better option. You can open CMD and cd to a folder just by right clicking on the folder and selecting a menu item. The trick is to use Shift + Right Click. This will give you additional options, and one of them is "Open command window here" (Windows 7).



Another very useful tip is to add your most frequently opened folders to favorites so that you see them in the left top of explorer and can open with a single click.


Tuesday, January 06, 2015

Changing Title of Command Prompt

Sometimes it is annoying when you can't easily distinguish which is what, when you work with multiple Command Prompt consoles in Windows. For eg: may be you are working on multiple nodejs applications and all your command prompts show the title as : "C:\windows\system32\cmd.exe - node app.js".

You can easily fix this using the TITLE command in DOS. In the console, just type "TITLE My App1" and press enter. Voila, you would see that the command window title now changed to "My App1". So next time you start nodejs, it would be "My App1 - node app.js"

Ain't that a cool way to be easily organized and avoid the frustration?!


More info:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/title.mspx