Place cmd in context menu via vbscipt

This script place’s a “cmd prompt here” in the explorers context menu. This is a most for any one that uses the command often.

1
2
3
4
5
6
7
8
9
'**************************************************************************
'   File:  CmdPromptExplorerMenu.vbs
'**************************************************************************

Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")

WSHShell.RegWrite "HKCR\Folder\Shell\MenuText\Command\", "cmd.exe /k cd " & chr(34) & "%1" & chr(34)
WSHShell.RegWrite "HKCR\Folder\Shell\MenuText\", "Cmd Prompt Here"
You can leave a response, or trackback from your own site.
Print This Post Print This Post



Further Reading

23 views

Leave a Reply

Twitter Delicious Facebook Digg Stumbleupon Favorites More
106 queries in 8.686 seconds.