Skip to content
LogoTechnipages
technipages logo
  • 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

Mitch BartlettJune 5, 2023 Comments (2)
Windows Header

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

Categories: Windows

Author Mitch Bartlett

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. Mitch's Favorite Gear ATX Graphics Card CanaKit Raspberry Pi 3

You Might Also Like

  • Win 11 Startup Programs Header

    How to Edit Startup Programs in Windows 11

    Mitch BartlettWindows
  • Printer Header

    Windows Fix “Operation could not be completed (error 0x00000709)”

    Mitch BartlettWindows
  • Windows: How to Prevent Group Policy From Applying

    Mitch BartlettWindows
  • windows-system-registry-file-missing-or-contains-errors

    Fix: System Registry File Is Missing or Contains Errors

    Madalina DinitaWindows

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?

Leave a Reply

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.

300x600
Turning on Triple Touch Zoom on Android

Turning on Triple Touch Zoom on Android

How to Connect Outlook 2023 to Gmail

How to Connect Outlook 2023 to Gmail

Netflix: Change Password

Netflix: Change Password

Everything You Need to Know About WhatsApp Delete for Me

Step-by-Step Guide: How to Use WhatsApp on Your Computer

Android: Enable or Disable Background Data

Android: Enable or Disable Background Data

300x250
profile pic

The Experts Behind Technipages

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.

Learn More

300x250 2
technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Visit guidingtechmedia.com to learn more about our mission and team.

© 2026 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Legal & Privacy

© 2026 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.