Solved

Dos Shell

Posted on 2000-05-08
3
193 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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi cmd execution 6 67
Making delphi communicate with a c# service 16 111
How to debug For loops? 3 56
firemonkey keyboard covers the controls 1 37
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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

856 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