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_ROOTDirectoryshellCommand] @=”” [HKEY_CLASSES_ROOTDirectoryshellCommandcommand] @=”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!.

Add a Comment