Command Prompt Window Here

How to Use Open Command Prompt Window Here in Vista


information   Information
This will show you how to have a command prompt window open at any drive, file, or folder location of your choice in Vista from their context menu. This will make it easier to perform a command task there instead of having to open a command prompt normally and manually type the folder location in it using the CD\ command.
Note   Note

  • This is not a elevated command prompt.
  • This option is not available for the folder tree in the left Navigation Pane Folders section.

EXAMPLE: Open Command Prompt Window Here at C:\Program Files
Command_Prompt.jpg




OPTION ONE
Using Shift + Right Click

NOTE: This is the default method in Vista.
1. Navigate to a folder of your choice in a Windows Explorer window.​
2. Hold down the Shift key and right click on the folder.​
3. Click on Open Command Window Here. (see screenshot below)​
Shift+Right_Click.jpg





OPTION TWO
Using a Single Right Click Only

NOTE: This will show you how to have Open Command Window Here as soon as you right click on a drive, file, or folder without having to press the Shift key first. You will need to enable this option below first though.
1. To Remove Having to Press Shift
A) Click on the Download button below to download the file below.​
Remove_Shift_Command_Window_Here.reg
download

B) Go to step 3.​

2. To Restore Having to Press Shift
A) Click on the Download button below to download the file below.​
Restore_Shift_Command_Window_Here.reg
download

3. Click on Save, and save the .reg file to the Desktop.​
4. Right click on the downloaded .reg file and click on Merge.​
5. Click on Run, Continue (UAC), Yes, and then OK when prompted.​
7. When done, you can delete the downloaded .reg file if you like.​
That's it,
Shawn


 

Attachments

  • Remove_Shift_Command_Window_Here.reg
    4.6 KB · Views: 1,732
  • Restore_Shift_Command_Window_Here.reg
    4.6 KB · Views: 1,267
  • Command_Prompt.png
    Command_Prompt.png
    5.7 KB · Views: 448
Last edited:
I only get the option when the folder is in the right pane of explorer, but, nice one.

J
 

My Computer

System One

  • Manufacturer/Model
    home build
    CPU
    AMD Phenom II X4 955
    Motherboard
    MSI K9N2 SLI platinum
    Memory
    4gb
    Graphics Card(s)
    2 Nvidia 9800gt's SLI'd with 660 core clocks, 512mb ddr3 ea.
    Sound Card
    runs thru home stereo, 7.1 channel
    Monitor(s) Displays
    22" Samsung
    Screen Resolution
    1680x1050
    Hard Drives
    c: 320gb maxtor, d: 1tb wd, e: 500gb maxtor, g: 500gb hitachi, 2 external 500gb wd's in enclosures
    PSU
    750w Corsair
    Cooling
    Zalman
Updated 3-31-08 to include Option Two to remove having to press Shift first.

Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
I'm running Vista Ultimate 23 SP1 and I haven't had any luck with this. I import the first file, but I still don't get the "Open ...Here" entry.

Any ideas?
 

My Computer

Hello Ckm1956, and welcome to Vista Forums.

Do you get it when you press and hold Shift, then right click on the file, drive, or folder?

I tested the download # 1 again and it seems to work fine for me.

Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Try running a sfc /scannow command to see if it can find and fix any bad system files that may be the cause. This tutorial will show you how to if needed.

http://www.vistax64.com/tutorials/66978-system-files-sfc-command.html


If it does not help, then merge this reg file below from my system to see if it can help. It is the default settings in the registry for the command file.

** REMOVED ** < Click to download

It is now included in the tutorial download.

Hope this helps,
Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
SFC didn't find any problems.

Restoring the Registry defaults enabled the Shift-Open Command Here option.

I was then able to use the .reg file to remove the Shift requirement.

Thanks Shawn!
 

My Computer

Your welcome ckm1956. I'm happy to hear that it working for you now. Thank you for posting back with your results.

Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Back
Top