PC Review


Reply
Thread Tools Rate Thread

Command Prompt in A Folders Context Menu

 
 
Jerry Honeycutt
Guest
Posts: n/a
 
      28th Nov 2003
Bob,

Try replacing your command with the following:

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

The only different is an exact path to cmd.exe. I'm not sure why this
works on my computer, but when I don't specify a path to cmd.exe, I get
short directory names. When I do specify a path, I get long directory
names.

Best, Jerry

-----Original Message-----
From: Bob Day [private.php?do=newpm&u=]
Posted At: Friday, November 28, 2003 5:06 PM
Posted To: perform_maintain
Conversation: Command Prompt in A Folders Context Menu
Subject: Command Prompt in A Folders Context Menu


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
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
Strange Behavior -xp Start Menu Program Folders, "Open" command in context menu hosed Maxwell Windows XP General 1 23rd Feb 2004 07:43 AM
Command Prompt in A Folders Context Menu Bob Day Windows XP Performance 5 5th Dec 2003 10:20 AM
Command Prompt from Folder Context Menu Bob Day Windows XP Performance 3 2nd Dec 2003 12:55 PM


Features
 

Advertising
 

Newsgroups
 


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