Help - Search - Members - Calendar
Full Version: Command prompt for folders anywhere in explorer
MSFN Forums > Member Contributed Projects > HFSLIP

   
Google Internet Forums Unattended CD/DVD Guide
Dislocated Time
Hello.
In Windows XP there is a power tweak that I can't find for Windows 2000.

Can somebody tell me how to make a cmd, bat or reg file out of the procedure listed below so that I can
open a command window wherever I am in the explorer? (preferably a reg file)

1. In Windows Explorer, open the Tools » Folder Options menu item.
2. Select the File Types tab.
3. Press the letter ‘n’ on your keyboard to scroll to the N/A section.
4. Select the entry labeled Folder.
5. Click the Advanced button.
6. Click the New button.
7. In the action field, type “Command Prompt” (without the quotes).
8. In the application field, type “cmd.exe” (without the quotes).
9. Save all your changes (click OK on each dialog) and exit the Folder Options dialog.

Once I perform thos steps, I'm able to right click a folder and select the “Command Prompt” menu item to open a command window.

That's what I want in my unattended W2K install, but I don't know how to automate this.
7yler
This command should do what your after.

:: **** Command Prompt Here
REG ADD "HKCR\Directory\shell\Command Prompt Here\Command" /f /t REG_SZ /ve /d "cmd.exe /k cd %%1"

Martin H
This really isn't the best place to ask such a question, but nonetheless, here you go mate :
CODE
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here]

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here\Command]
@="cmd.exe /k cd %1"


smile.gif

Edit : Beaten by 7yler smile.gif

jaclaz
Another approach, that I find useful:
http://www.msfn.org/board/util-or-shell-ex...4.html&st=8

As it opens a command prompt in currently opened folder, I have both on my 2K, so that I can open a command prompt everywhere.

jaclaz
Dislocated Time
thumbup.gif


Thank you mate ! You did me a service there.

May you also be helped in your further endeavours.

bynkook
powertoy xp

http://www.microsoft.com/windowsxp/downloa...ppowertoys.mspx


Open Command Window Here
CmdHere.exe
514 KB 2 min @ 28.8 Kbps
http://download.microsoft.com/download/whi...wertoySetup.exe



Dislocated Time
Yesterday my comment wasn't accepted so... hopefully I can express my gratitude today.

May you also be helped in your endeavours as much as you help others.

Thank you very much, you gave me just what I needed.

thumbup.gif
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.