Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Open Command Window Here

Featured Replies

Microsoft PowerToys for Windows XP

Open Command Window Here

This PowerToy adds an "Open Command Window Here" context menu option on file system folders, giving you a quick way to open a command window (cmd.exe) pointing at the selected folder.

Download: CmdHerePowertoySetup.exe (514 KB)

We are all familiar with this tweak, but this post is for the record, since I have yet to find it anywhere on the net :no: or here with respect to the code in its entirety. Those who wish NOT have more junk left behind by installers, :yes: here's the registry code for it ;):

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Open Command Here"

[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""

[HKEY_CLASSES_ROOT\Drive\shell\cmd]
@="Open Command Here"

[HKEY_CLASSES_ROOT\Drive\shell\cmd\command]
@="cmd.exe /k \"cd %L\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd]
@="Open Command Here"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\cmd]
@="Open Command Here"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\cmd\command]
@="cmd.exe /k \"cd %L\""


You only need the first four lines or the last four lines, preferably the last four, these are automatically added to the 'other' location.

Yeah I read about that before, regarding the registry, but can never remember which keys are "real" and which ones are just shortcut dupes heh.

The "HKEY_CLASSES_ROOT" is just a "shortcut" to the real classes key which I can never remember, but from the looks of your post is "HKEY_LOCAL_MACHINE\SOFTWARE\Classes"

I can't believe someone just finding that as I been using it for a very long time.

Its all over the Net

EX: http://www.google.com/search?as_q=Command+...ights=&safe=off

and also included in

MSFN - Registry Tweaks Part 3

You're missing one that will allow you to open on a file on desktop BTW,

If you want add the same to HKEY_CLASSES_ROOT\*\shell

Edited by maxXPsoft

  • Author
I can't believe someone just finding that as I been using it for a very long time.

Its all over the Net

EX: http://www.google.com/search?as_q=Command+...ights=&safe=off

Those finds all over the net are not "comprehensive" hence me mentioning "code in its entirety" above :P I have only found bits and pieces, like two reg keys, and I wonder why I found eight in mine. As Yzowl mentioned though, you really need only the first four or last four, so I guess we are looking now at a complete set of code for this function as four lines? :unsure:

You're missing one that will allow you to open on a file on desktop BTW,

If you want add the same to HKEY_CLASSES_ROOT\*\shell

Can you post the keys from \HKEY_CLASSES_ROOT\*\shell? Thanks :hello:

[HKEY_CLASSES_ROOT\*\shell\cmd]

@="DOS HERE"

[HKEY_CLASSES_ROOT\*\shell\cmd\command]

@="cmd.exe \\\"%1\\\""

[HKEY_CLASSES_ROOT\Directory\shell\cmd]

@="DOS HERE"

[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]

@="cmd.exe /k \"cd %L\\\""

[HKEY_CLASSES_ROOT\Drive\shell\cmd]

@="DOS HERE"

[HKEY_CLASSES_ROOT\Drive\shell\cmd\command]

@="cmd.exe /k \"cd %L\\\""

I prefer this method

BTW if its a shortcut to say like Mozilla Firefox on desktop it open's the prompt in that folder. If its a file on the desktop it open's the prompt on desktop. much better

Edited by maxXPsoft

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.