• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Windows: Open Command Prompt to Specific Folder Location

Windows: Open Command Prompt to Specific Folder Location

June 5, 2023 by Mitch Bartlett 2 Comments

Here is a quick and easy Windows tip that can come in pretty handy if you find yourself always wanting to access a specific location on your hard drive using a command prompt. In the following example, I will create a shortcut to a command prompt window that opens using my desktop as the root. This can be handy when you want to work with files that you are using on your desktop (e.g. that you just downloaded from Firefox, etc.)

  1. Right-click in the open space of your desktop and click “New“> “Shortcut“.
  2.  For the location, type or copy and paste one of the following lines. The first one is standard, while the second one is used in administrator mode.
    • %windir%\system32\cmd.exe /k
    • %windir%\system32\cmd.exe /k cd \Users\YourAccount\Desktop
  3. Click “Next“.
  4. For the name, type something descriptive, like “Command Prompt at Desktop” then click “Finish“.
  5. Now right-click on the new shortcut and choose “Properties“.
  6. Change the “Start In” field to whatever directory you want the command prompt to start in. In this case, we want it to start in my desktop, so I would type in:
    • "C:\Users\Mitch\Desktop\" - Be sure to include the quotation marks, and of course you would need to customize this file path to your own system (i.e. replacing “knr” with your own Windows username).
      CMD Shortcut Properties
  7. You can assign a shortcut key if you like, as well as configure other options. If you use this icon in administrator mode, right-click the icon, then select “Shortcut” > “Advanced…“, then check “Run as administrator“). Once you have finished, click “OK“.

(Optional) Click and drag the shortcut that you created onto your Quick Launch toolbar or put it anywhere you prefer so that you can access it quickly.

That’s it! Now, whenever you want a command prompt window at the location that you specified in the shortcut, just click the icon (or use your shortcut key, if you defined one) and you are in business!

CMD Shortcut Box

You Might Also Like

  • Windows 10: Use the Command Prompt to Close a Process
    Windows 10: Use the Command Prompt to Close a Process
  • Windows 10 Command Prompt Appears Then Disappears
    Windows 10 Command Prompt Appears Then Disappears
  • Windows 10 - How to Uninstall a Program Using the Command Prompt
    Windows 10 - How to Uninstall a Program Using the Command…
  • Windows Command Prompt: How to Change the Font and Colors
    Windows Command Prompt: How to Change the Font and Colors
  • How to Access Device Manager from the Command Prompt
    How to Access Device Manager from the Command Prompt
  • Prevent Google Chrome Location Prompt
    Prevent Google Chrome Location Prompt

Filed Under: Windows

Reader Interactions

Comments

  1. Rick Fithen says

    August 2, 2018 at 8:04 pm

    Excellent!!!!

  2. Samantha says

    May 31, 2017 at 7:21 am

    Will these steps work if im using windows 10?

Did this help? Let us know!

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • How to Find Your Lost Samsung Phone
  • How to Change Microsoft 365 Two-Factor Authentication
  • How to Export Chrome Bookmarks
  • How to Make Your iPad’s Keyboard Bigger
  • How to Enable and Manage Do Not Disturb on iPad (iPadOS 16.5)
  • How to Put Apps to Sleep in Windows 11
  • Fix: Excel Opens in Tiny Window
  • What is SMPS?

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

You May Also Like

  • Open Standard
  • Open Source Software (OSS)
  • Windows 95/98
  • Microsoft Windows NT
  • Microsoft Windows
  • Microsoft Windows 95
  • Windows Media Player (WMP)

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy