Sunday, November 23, 2008

Command in right-click

To enable Command when right-clicking on a file:

1. Create a new file with the extension (.reg).
2. Copy and paste the code below in it and save the file.

REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\Command] @="" [HKEY_CLASSES_ROOT\Directory\shell\Command\command] @="cmd.exe \\\"%1\\\""

3. Double-click the file, the message "Are you sure you want to add the information [path and name of the file] to registry?" will appear. Choose "Yes".

4. Complete!.

No comments: