A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Where to find context-sensitive "Open DOS" prompt



 
 
Thread Tools Display Modes
  #16  
Old March 15th 09, 09:28 PM posted to microsoft.public.windowsxp.customize
Tim Meddick
external usenet poster
 
Posts: 1,995
Default Where to find context-sensitive "Open DOS" prompt

Just open up your registry at:-

HKEY_CLASSES_ROOT\Directory

....then under a sub-key called "Shell" that you will find there
create another sub-key (by either right-click or MenuEditNew)
and name it say "DOS_From_Here" - First step done!
Now, create another sub-key within that you have just made and
call this one "command" (it must be "command"), that's step two.
Now in the default value within this sub-key either double-click or
select MenuEditModify and type in the full path to the file CMD.EXE
e.g. C:\WINDOWS\system32\cmd.exe and that's it.
On each folder's right-click you will have an entry called
"DOS_From_Here" which will open on the appropriate folder when
selected.
If in doubt over any of this, look at how other entries are constructed
under the Shell key within HKEY_CLASSES_ROOT\Directory

--

Cheers, Tim Meddick, Peckham, London.


Ads
  #17  
Old March 15th 09, 09:28 PM posted to microsoft.public.windowsxp.customize
Tim Meddick
external usenet poster
 
Posts: 1,995
Default Where to find context-sensitive "Open DOS" prompt

Just open up your registry at:-

HKEY_CLASSES_ROOT\Directory

....then under a sub-key called "Shell" that you will find there
create another sub-key (by either right-click or MenuEditNew)
and name it say "DOS_From_Here" - First step done!
Now, create another sub-key within that you have just made and
call this one "command" (it must be "command"), that's step two.
Now in the default value within this sub-key either double-click or
select MenuEditModify and type in the full path to the file CMD.EXE
e.g. C:\WINDOWS\system32\cmd.exe and that's it.
On each folder's right-click you will have an entry called
"DOS_From_Here" which will open on the appropriate folder when
selected.
If in doubt over any of this, look at how other entries are constructed
under the Shell key within HKEY_CLASSES_ROOT\Directory

--

Cheers, Tim Meddick, Peckham, London.


  #18  
Old March 15th 09, 09:43 PM posted to microsoft.public.windowsxp.customize
Tim Meddick
external usenet poster
 
Posts: 1,995
Default Where to find context-sensitive "Open DOS" prompt

P.S. Someone will surly point out to me the need for a /c cd "%1"
parameter at the end of the line pointing to the file CMD.EXE like:-

"c:\windows\system32\cmd.exe /c cd "%1""

However - I have found this not to be at all necessary in WinXP it works
just as well without it, but if you have a problem with this, please add it.

--

Cheers, Tim Meddick, Peckham, London.


  #19  
Old March 15th 09, 09:43 PM posted to microsoft.public.windowsxp.customize
Tim Meddick
external usenet poster
 
Posts: 1,995
Default Where to find context-sensitive "Open DOS" prompt

P.S. Someone will surly point out to me the need for a /c cd "%1"
parameter at the end of the line pointing to the file CMD.EXE like:-

"c:\windows\system32\cmd.exe /c cd "%1""

However - I have found this not to be at all necessary in WinXP it works
just as well without it, but if you have a problem with this, please add it.

--

Cheers, Tim Meddick, Peckham, London.


  #20  
Old March 15th 09, 09:50 PM posted to microsoft.public.windowsxp.customize
Tim Meddick
external usenet poster
 
Posts: 1,995
Default Where to find context-sensitive "Open DOS" prompt

P.P.S. My mistake, again, it should be a /k not a /c in the line. The
line should have read:-

"c:\windows\system32\cmd.exe /k cd "%1""

sorry bout that!

--

Cheers, Tim Meddick, Peckham, London.


  #21  
Old March 15th 09, 09:50 PM posted to microsoft.public.windowsxp.customize
Tim Meddick
external usenet poster
 
Posts: 1,995
Default Where to find context-sensitive "Open DOS" prompt

P.P.S. My mistake, again, it should be a /k not a /c in the line. The
line should have read:-

"c:\windows\system32\cmd.exe /k cd "%1""

sorry bout that!

--

Cheers, Tim Meddick, Peckham, London.


  #22  
Old March 16th 09, 11:41 PM posted to microsoft.public.windowsxp.customize
ju.c[_3_]
external usenet poster
 
Posts: 537
Default Where to find context-sensitive "Open DOS" prompt

Please don't delete previous entries. Thanks.


"Tim Meddick" wrote in message ...
P.P.S. My mistake, again, it should be a /k not a /c in the line. The
line should have read:-

"c:\windows\system32\cmd.exe /k cd "%1""

sorry bout that!

--

Cheers, Tim Meddick, Peckham, London.


  #23  
Old March 16th 09, 11:41 PM posted to microsoft.public.windowsxp.customize
ju.c[_3_]
external usenet poster
 
Posts: 537
Default Where to find context-sensitive "Open DOS" prompt

Please don't delete previous entries. Thanks.


"Tim Meddick" wrote in message ...
P.P.S. My mistake, again, it should be a /k not a /c in the line. The
line should have read:-

"c:\windows\system32\cmd.exe /k cd "%1""

sorry bout that!

--

Cheers, Tim Meddick, Peckham, London.


  #24  
Old March 18th 09, 02:46 AM posted to microsoft.public.windowsxp.customize
Tim Meddick
external usenet poster
 
Posts: 1,995
Default Where to find context-sensitive "Open DOS" prompt

To "ju.c",
Thankyou for your informative suggestions not to "delete previous
posts". After reading a post from "Al Falfa" I now know what you're on
about. To inform you that I never "deleted" anything - it is just that I
chose not to have checked the box marked "include message in reply" in
Outlook Express. So it was a case of me NOT doing something I should have
done, rather than DOING something I should not have. Please note that I
have now included the message text in my reply and for which I had to alter
settings in order for that to happen. I do hope you are pleased. One more
I will say it - I have never deleted anything - just not included your
message in the reply, so it seems, is a bit of a crime around here!
--

Cheers, Tim Meddick, Peckham, London.



"ju.c" wrote in message
...
Please don't delete previous entries. Thanks.


"Tim Meddick" wrote in message
...
P.P.S. My mistake, again, it should be a /k not a /c in the line. The
line should have read:-

"c:\windows\system32\cmd.exe /k cd "%1""

sorry bout that!

--

Cheers, Tim Meddick, Peckham, London.


  #25  
Old March 18th 09, 02:46 AM posted to microsoft.public.windowsxp.customize
Tim Meddick
external usenet poster
 
Posts: 1,995
Default Where to find context-sensitive "Open DOS" prompt

To "ju.c",
Thankyou for your informative suggestions not to "delete previous
posts". After reading a post from "Al Falfa" I now know what you're on
about. To inform you that I never "deleted" anything - it is just that I
chose not to have checked the box marked "include message in reply" in
Outlook Express. So it was a case of me NOT doing something I should have
done, rather than DOING something I should not have. Please note that I
have now included the message text in my reply and for which I had to alter
settings in order for that to happen. I do hope you are pleased. One more
I will say it - I have never deleted anything - just not included your
message in the reply, so it seems, is a bit of a crime around here!
--

Cheers, Tim Meddick, Peckham, London.



"ju.c" wrote in message
...
Please don't delete previous entries. Thanks.


"Tim Meddick" wrote in message
...
P.P.S. My mistake, again, it should be a /k not a /c in the line. The
line should have read:-

"c:\windows\system32\cmd.exe /k cd "%1""

sorry bout that!

--

Cheers, Tim Meddick, Peckham, London.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 06:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.