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
|