frontpage hit counter

Thursday, June 08, 2006

Add a Command Line Prompt to the Right Click

As a novice programmer at UCI, instructors initially taught Computer Science students to program without advanced development platforms. Instead, a simple program called TextPad was used to teach and learn programming in the labs. Unfortunately, TextPad is unable to compile programs. The only way to compile was to use the command prompt and compile it manually. Often times getting to the command prompt to the right step was a hassle. Locating and typing the next higher level directory is time consuming. Here is a simple tweak that can added to the registry to speed up that process. After applying the tweak, all you need to do is use Explorer and navigate to the right folder. Right click the folder and an option will appear to "Command Prompt Here". Simple insert the bolded code below into a text file (txt). Change the extension to the registry (.reg) extension. And double click to execute. Confirm adding the information to the registry. Reboot and you are all set.

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here]
@="Command &Prompt Here"
[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here\command]
@="cmd.exe /k cd %1 "

0 Comments:

Post a Comment

<< Home