Windows Guides Feed

New to using the command prompt? Check out the Windows Command Prompt Beginner’s Guide

8 1 2011 6 10 41 PM Set the Command Prompt to Open in Your Scripts Directory [Quick Tip]

If you run a lot of scripts from the Command Prompt, I’d like to share a quick tip that saves me time every time I open it.

To open the command prompt in your scripts (or any) directory, locate the shortcut to the command prompt, right click it, and click Properties.

Change the Start in field to match your scripts directory i.e.:

“E:\Documents\My Dropbox\Scripts”

8 1 2011 6 09 46 PM Set the Command Prompt to Open in Your Scripts Directory [Quick Tip]

 

 

 

 

 

Now, when you open the command prompt (using the shortcut you modified) you’ll start in your new base directory:

8 1 2011 6 10 41 PM Set the Command Prompt to Open in Your Scripts Directory [Quick Tip]

Bonus Tip: Start in Multiple Directories

If you have multiple directories from which you’d like to start, you can simply create a number of command prompt shortcuts in your start menu.

Name each shortcut a different name i.e. “scripts“, “media“, “tasks” etc. and update the Start in field for each shortcut. Now you can press the Windows Key, type media, press Enter, and have a command prompt ready to roll in your media directory.



 Set the Command Prompt to Open in Your Scripts Directory [Quick Tip]

About Rich

Rich is the owner and creator of Windows Guides; he spends his time breaking things on his PC so he can write how-to guides to fix the problems he creates.

Free PC tips by email

Search Windows Guides




Comments

  • http://forum.mintywhite.com/memberlist.php?mode=viewprofile&u=8824 UVAIS

    Thanks for nice Tip :;

  • georgin

    merci pour cette astuce


Computer tips in your inbox
Sign up for the Windows Guides newsletter to get PC tips and access to free Windows books (More details)

Enter your email address:
 

Popular Guides

See which sites have been visited on your PC (even if private browsing mode is used)

Create a Windows 7 System Repair Disc

Best Free Anti-malware

Hibernate vs. Sleep vs. Shut-Down

i3, i5, and i7; Dual, Quad, Hexa Core Processors. How to they Differ?

Intel's Ivy Bridge Processor: new Features

Submit Your Tip
Submit your computer tip to us; receive full credit for all published tips

Windows Guides on Facebook