Take command of the command line
This tip was submitted to the SearchWin2000.com 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
[HKEY_CLASSES_ROOT\Directory\shell\Command]
[HKEY_CLASSES_ROOT\Directory\shell\Command\command]
@="cmd.exe /k cd %1 "
This was first published in July 2004
Disclaimer:
Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.
Join the conversationComment
Share
Comments
Results
Contribute to the conversation