PC Review


Reply
Thread Tools Rate Thread

Command Prompt from Folder Context Menu

 
 
Bob Day
Guest
Posts: n/a
 
      1st Dec 2003
Using Windows XP Pro...

I want to add a command prompt option to a folder's context menu, some one
suggested below as a .reg file and execute it:

----------------------------------------------------

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Command]
@="Command Prompt"

[HKEY_CLASSES_ROOT\Directory\shell\Command\command]
@="cmd.exe /k cd \"%1\""

---------------------------------


Works nicely, but with one draw back. In the DOS window, it shows
the path like this:
C:\CSINST~1\A0-CSA~1\OSSCBE~!>
for a directory of
C:\CS INSTALLS\A0 - CS ADDITONS\OS SCHEDULED TASKS.
Any way to correct this to make it more readable and accurate?

Also, I have had the computer lock 1 time when using this new command prompt
in the folder's context menu. Anyone have any ideas?

Thanks!
Bob Day




 
Reply With Quote
 
 
 
 
Will Denny
Guest
Posts: n/a
 
      1st Dec 2003
Hi

"Open Command Window Here"
http://www.microsoft.com/windowsxp/p.../powertoys.asp

--

Will Denny
MS-MVP Windows - Shell/User


"Bob Day" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Using Windows XP Pro...
>
> I want to add a command prompt option to a folder's context menu, some one
> suggested below as a .reg file and execute it:
>
> ----------------------------------------------------
>
> Windows Registry Editor Version 5.00
>
> [HKEY_CLASSES_ROOT\Directory\shell\Command]
> @="Command Prompt"
>
> [HKEY_CLASSES_ROOT\Directory\shell\Command\command]
> @="cmd.exe /k cd \"%1\""
>
> ---------------------------------
>
>
> Works nicely, but with one draw back. In the DOS window, it shows
> the path like this:
> C:\CSINST~1\A0-CSA~1\OSSCBE~!>
> for a directory of
> C:\CS INSTALLS\A0 - CS ADDITONS\OS SCHEDULED TASKS.
> Any way to correct this to make it more readable and accurate?
>
> Also, I have had the computer lock 1 time when using this new command prompt
> in the folder's context menu. Anyone have any ideas?
>
> Thanks!
> Bob Day
>
>
>
>



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003
 
Reply With Quote
 
David Candy
Guest
Posts: n/a
 
      1st Dec 2003
Preface it with a path.

c:\windows\system32\cmd etc

--
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Bob Day" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Using Windows XP Pro...
>
> I want to add a command prompt option to a folder's context menu, some one
> suggested below as a .reg file and execute it:
>
> ----------------------------------------------------
>
> Windows Registry Editor Version 5.00
>
> [HKEY_CLASSES_ROOT\Directory\shell\Command]
> @="Command Prompt"
>
> [HKEY_CLASSES_ROOT\Directory\shell\Command\command]
> @="cmd.exe /k cd \"%1\""
>
> ---------------------------------
>
>
> Works nicely, but with one draw back. In the DOS window, it shows
> the path like this:
> C:\CSINST~1\A0-CSA~1\OSSCBE~!>
> for a directory of
> C:\CS INSTALLS\A0 - CS ADDITONS\OS SCHEDULED TASKS.
> Any way to correct this to make it more readable and accurate?
>
> Also, I have had the computer lock 1 time when using this new command prompt
> in the folder's context menu. Anyone have any ideas?
>
> Thanks!
> Bob Day
>
>
>
>


 
Reply With Quote
 
Ramesh [MVP]
Guest
Posts: n/a
 
      2nd Dec 2003
Change the cmd.exe /k cd \"%1\"" to full path of CMD.exe

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

--
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com

~ Please reply to newsgroup ~


"Bob Day" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Using Windows XP Pro...

I want to add a command prompt option to a folder's context menu, some one
suggested below as a .reg file and execute it:

----------------------------------------------------

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Command]
@="Command Prompt"

[HKEY_CLASSES_ROOT\Directory\shell\Command\command]
@="cmd.exe /k cd \"%1\""

---------------------------------


Works nicely, but with one draw back. In the DOS window, it shows
the path like this:
C:\CSINST~1\A0-CSA~1\OSSCBE~!>
for a directory of
C:\CS INSTALLS\A0 - CS ADDITONS\OS SCHEDULED TASKS.
Any way to correct this to make it more readable and accurate?

Also, I have had the computer lock 1 time when using this new command prompt
in the folder's context menu. Anyone have any ideas?

Thanks!
Bob Day





 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No Search Command in Context Menu JamesJ Windows Vista General Discussion 9 14th Apr 2008 05:00 AM
Context menu command =?Utf-8?B?Q29udGV4dCBtZW51IGNvbW1hbmQ=?= Windows XP MovieMaker 3 16th Nov 2007 02:32 PM
Context Menu Send File to DOS Prompt Freeware socrtwo@gmail.com Freeware 7 29th Dec 2004 12:34 AM
Command Prompt in A Folders Context Menu Bob Day Windows XP Performance 5 5th Dec 2003 10:20 AM
Command Prompt in A Folders Context Menu Jerry Honeycutt Windows XP Performance 0 28th Nov 2003 11:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:58 PM.