Solved

Dos Shell

Posted on 2000-05-08
3
195 Views
Last Modified: 2010-04-04
Hi,
I would like to start a DOS shell by right clicking on a directory when I'm in WinNT Explorer.  Is it possible by entering some parameters in the registry ?
Thanks in advance.
0
Comment
Question by:pchaloux
  • 2
3 Comments
 
LVL 20

Expert Comment

by:Madshi
ID: 2789873
Cut this text into a *.reg file and run it. It does exactly what you want:

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\DosHere]
@="Command &Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\DosHere\command]
@="C:\\WINDOWS\\command.com /k cd \"%1\""

Regards, Madshi.
0
 

Author Comment

by:pchaloux
ID: 2789950
I'm on Winnt, not Win95
0
 
LVL 20

Accepted Solution

by:
Madshi earned 100 total points
ID: 2791262
Sorry, here comes the NT part:

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\DosHere]
@="Command &Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\DosHere\command]
@="c:\\winnt\\system32\\cmd.exe /k cd \"%1\""

Regards, Madshi.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question