Take command of the command line

Efficiently run your command at will

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

Dig Deeper

PRO+

Content

Find more PRO+ content and other member only offers, here.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

  • Virtual desktop security guide

    To secure virtual desktops, consider antivirus, certificates and network vulnerabilities. Just remember, VDI doesn't always ...

  • Guide to low-cost desktop virtualization

    In this guide, learn to virtualize desktops without spending more than you would when deploying PCs, and what VDI vendors are ...

  • VDI pilot project guide

    A VDI pilot project should start with a VDI project plan. Know what pitfalls to avoid and test product options to achieve a ...

Close