MSTechpages
  • Home
  • Knowledge Base
  • Reviews
  • Articles
  • About
Windows 10

Open a Command Prompt/Powershell Prompt at Folder Location

Jan 9, 2018·Dustin·Comments (0)
Windows File Explorer context menu with “Open PowerShell window here” highlighted by a blue arrow

Estimated Reading Time: 1 min

Many times, you are browsing folders and find a console style program that you’d like to run, but would like to do it from the command prompt itself, or from the Powershell prompt. Rather than opening the CMD.EXE or Powershell prompt and navigating to the folder you’ve already opened, you can open the prompt very easily. Here is how.

1. Navigate to the folder you’d like. If you right click within the folder, you get the following menu. Notice it does not allow you to open a prompt.

 

 

2. Now, hold right shift and then right click within the folder. Notice the new menu option “Open Powershell window here” (some older versions may say “Open Command Prompt window here”).

 

 

 

3. When the prompt opens, it will already be at the folder location, ready to run the program or script and give you more verbose output without closing the prompt that is typical of running scripts from a window.

 

 

Related Products on Amazon
Mechanical KeyboardShop on Amazon
Raspberry Pi KitShop on Amazon
Programming BookShop on Amazon
USB-C HubShop on Amazon

MSTechPages is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. As an Amazon Associate, we earn from qualifying purchases at no extra cost to you.

Written by
Dustin · Founder and Head Editor, News Poster
Sr. Cybersecurity Engineer - Microsoft MVP Windows Experience (2014-2015)

Dustin is the founder and head editor of MSTechpages. He started the site to help other users of Windows. He has been very active with helping others throughout the years, from USENET to Microsoft Answers to the latest Microsoft Communities as well as other internet forums such as Reddit. He is a Sr. System Administrator, holds several industry certifications and degrees.

View all 1500 articles by Dustin →

Related Articles

Device Manager showing the highlighted HID-compliant touch screen under Human Interface Devices Windows 10

Disable Touch Screen in Windows

Jun 24, 2026 · Dustin
Windows Command Prompt shows DISM successfully enabling the .NET Framework 3.5 feature Windows 10

Offline install of .Net Framework 3.5 using DISM

Apr 1, 2020 · Dustin
Windows Start menu open with an alphabetical app list, pinned tiles, and taskbar icons Windows 10

Disable Autohide Scrollbars

Jul 8, 2019 · Dustin

Windows Insider Builds

Beta
26220.9757
Beta (26H1)
28020.3292
Experimental
26340.9767
Experimental (26H1)
28120.3302
Experimental (Future)
29695.1001
Release Preview (25H2/26H2)
26200.9807
Release Preview (26H1)
28000.3351
Recent Knowledge Base Articles
  • Disable Touch Screen in Windows
  • Add “End Task” To Right Click Application on Taskbar
  • Offline install of .Net Framework 3.5 using DISM
  • Disable Autohide Scrollbars
  • Install Active Directory RSAT in Windows 10 1809 or later
  • Disable File Grouping in File Explorer
  • Forget Wireless Networks
  • Show Hidden Files & Folders
  • Enable Night Light Mode
  • How to Fix a Network Printer Showing Offline
MSTechpages

Covering Microsoft since the dial-up days, using Windows since 2.0.

Windows

  • Windows 11
  • Windows Insider
  • Canary Channel
  • Cumulative Updates

Resources

  • Knowledge Base
  • Articles
  • Reviews

Company

  • About
  • Contact
  • Privacy Policy
  • Advertise

© 2026 MSTechpages. All rights reserved.

Privacy