?
Solved

Dos Shell

Posted on 2000-05-08
3
Medium Priority
?
209 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 400 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
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…
Loops Section Overview
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

839 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