Ran this command to add a new option called 'Command Prompt' to the context menu that appears when on right-clicking a folder:

C:\>reg add
"HKCR\Directory\shell\Command Prompt\command" /f /ve /d "cmd.exe /k cd
%1"

The operation completed successfully

C:\>

This command adds a registry entry to add this option to the context menu of directories.

Once the command has been run successfully, the 'Command Prompt' option would appear on right-clicking a folder. Clicking it would open a Command Prompt window with the current directory set to the path of the folder that was clicked.

The option can be removed by running:
C:\>reg delete
"HKCR\Directory\shell\Command Prompt" /f

The operation completed successfully

C:\>

Steps for a minimal download to install the 'winhttp.lib' and 'winhttp.h' files.

  1. Downloaded PSDK-x86.exe from Microsoft ® Windows Server® 2003 R2 Platform SDK Web Install.
  2. Ran the installer, selected 'Custom' installation type, cleared all categories and selected Microsoft Windows Core SDK > Build Environment > Build Environment (x86 32-bit).
The 'winhttp.h' file can be found in 'C:\Program Files\Microsoft Platform SDK Server 2003 R2\Include' directory.

Newer | Older
RSS