Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • 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

Through my career that spans over 20 years I have become an expert in Microsoft Systems Administration, Android, and macOS. I started this site as a technical guide for myself and it has grown into what I hope is a useful knowledgebase for everyone.

You Might Also Like

  • 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
  • roll-back-from-windows-11-to-windows-10

    How to Downgrade from Windows 11 to Windows 10

    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 *

marvel rivals memory leak fix

Marvel Rivals Using Too Much Memory – How to Fix

how to create a macro in word

How to Create a Macro in Word

how to set video as screen saver

How to Set a Video as Your Screen Saver on Windows 11

how to fix 0xc000007b Error

Error 0xc000007b – What Is It and How to Fix It

0x80070024 media is write protected

What to Do When You See the 0x80070024 Media Is Write Protected

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

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2025 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Legal & Privacy

© 2025 Guiding Tech Media All Rights Reserved

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

Last Updated on June 5, 2023 by Mitch Bartlett