call cmd.exe /k cd "%1"\
otron wrote: Thanks Mac Daddy, that did the trick. Now if I could only understand where it got this default directory from ...
Mac daddy wrote: or if your to lazy call cmd.exe /k cd "%1"\ start/run/ notepad - save as "name.cmd" save to desktop and double click it Replace the "Name" with what ever you want.
REGEDIT4 [HKEY_CLASSES_ROOT\*\shell\cmdhere] @="Cmd&Here" [HKEY_CLASSES_ROOT\*\shell\cmdhere\command] @="cmd.exe /c start cmd.exe /k pushd \"%L\\..\"" [HKEY_CLASSES_ROOT\Folder\shell\cmdhere] @="Cmd&Here" [HKEY_CLASSES_ROOT\Folder\shell\cmdhere\command] @="cmd.exe /c start cmd.exe /k pushd \"%L\""