Solved

Dos Shell

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video discusses moving either the default database or any database to a new volume.

705 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

18 Experts available now in Live!

Get 1:1 Help Now