Using the following registry, you can open a cmd prompt window by clicking 'Open CMD here' option of context menu of windows explorer. the default working directory of cmd prompt is the folder where the context menu poped up.
--------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt]
@="Open CMD Prompt Here"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt\command]
@="Cmd.exe /k pushd %L"
没有评论:
发表评论