Annoying: You want a command shell, but there is no folder in view in the Windows Explorer, just the files in the folder you want the shell to start in.
This is a modified version of the DosHere.reg file that allows just that by right-clicking on any file system object:
REGEDIT4 [HKEY_CLASSES_ROOT*ShellDosHere] @="Dos&Here (*)" [HKEY_CLASSES_ROOT*ShellDosHerecommand] @="cmd.exe /k cd /D %L" [HKEY_CLASSES_ROOTFolderShellDosHere] @="Dos&Here (Folder)" [HKEY_CLASSES_ROOTFolderShellDosHerecommand] @="cmd.exe /k cd /D %L"
Or, in commands:
reg add HKCR*ShellDosHere /ve /t REG_SZ /d "Dos&Here (*)" reg add HKCR*ShellDosHerecommand /ve /t REG_SZ /d "cmd.exe /k cd /D %L" reg add HKCRFolderShellDosHere /ve /t REG_SZ /d "Dos&Here (Folder)" reg add HKCRFolderShellDosHerecommand /ve /t REG_SZ /d "cmd.exe /k cd /D %L"
To remove this again, issue these commands:
reg delete HKCR*ShellDosHere reg delete HKCRFolderShellDosHere
Share