View Full Version : Command Prompt (WXP-Pro)
chip.guest
09-04-2003, 06:11 AM
Could you change (or add) this cmd.exe /k cd \"%1\" to the Command Prompt Option to every folder instead of cmd.exe /k cd "%1"? This method gives the full long path / filenames instead of the 8.3 equivalents.
BertImmenschuh
09-04-2003, 06:52 AM
I think a problem might be with the \, it implies a path and something should follow it??
Good judgement comes from experience, and experience comes from bad judgement
chip.guest
09-04-2003, 08:58 AM
The \ is an escape character and insures that the " following it gets passed and has nothing to do with a path statement.
Actually I should have included the entire entry.
[HKEY_CLASSES_ROOT\Directory\shell\Command\command]
@="cmd.exe /k cd \"%1\""
This makes the actual entry in the registry be:
cmd.exe /k cd "%1"
The current Tweak creates:
cmd.exe /k cd %1
This causes the directory c:\Documents and Settings to appear as C:\DOCUME~1> instead of the long filename format.
See article @
http://www.microsoft.com/WindowsXP/expertzone/columns/honeycutt/03june09.asp
msmet
10-20-2003, 12:53 AM
cmd.exe /k "cd %L"
does exactly the same without having to "escape"
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.