New to using the command prompt? Check out the Windows Command Prompt Beginner’s Guide
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.:
Now, when you open the command prompt (using the shortcut you modified) you’ll start in your new base directory:
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.