Solved

Dos Shell

Posted on 2000-05-08
3
187 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
calling procedure inside activexForm from secondform 1 231
Delphi TcxGrid group footer summary 3 203
how to center only a line in richedit? 4 52
select query - oracle 16 91
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

929 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now