Problem solve Get help with specific problems with your technologies, process and projects.

Take command of the command line

Efficiently run your command at will

This tip was submitted to the tip exchange by Luis Alvarez. Please let other users know how useful...

it is by rating it below.

I love the command line, but it's a pain when you have to go into a directory just to launch a program with an alternative switch. With this registry entry you can right-click any folder, select "command" and then you can run your command at will. Simply put the code into a simple "command.reg" file and you're done. The import works on XP also.

Windows Registry Editor Version 5.00
@="cmd.exe /k cd %1 "

This was last published in July 2004

Dig Deeper on Enterprise infrastructure management

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.