Create a ".reg" file containing the following line and double click on it.
Windows Registry Editor Version 5.00
; Add command prompt to right click menu in a folder
Windows Registry Editor Version 5.00
; Add command prompt to right click menu in a folder
[HKEY_CLASSES_ROOT\Directory\Background\shell\Command Prompt]
[HKEY_CLASSES_ROOT\Directory\Background\shell\Command
Prompt\command]
@="cmd.exe /s /k pushd %V"
; Add command prompt to right click menu on a folder
[HKEY_CLASSES_ROOT\Directory\shell\Command
Prompt]
[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt\command]
@="cmd.exe /s /k cd %L"
[HKEY_CLASSES_ROOT\Directory\shell\PowerShell]
[HKEY_CLASSES_ROOT\Directory\shell\PowerShell\command]
@="C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe
-NoExit -Command Set-Location -LiteralPath '%L'"
No comments :
Post a Comment