FarManager icon indicating copy to clipboard operation
FarManager copied to clipboard

Clipboard Integration with Windows Explorer (CF_HDROP Support)

Open 486DX50 opened this issue 6 months ago • 2 comments

Description of the new feature or improvement

Currently, using Ctrl+Ins in Far Manager copies the names or paths of selected objects as text. While useful for command-line work, it doesn't allow for seamless interaction with the Windows graphical interface. I am proposing a new action that populates the clipboard using the CF_HDROP format.

Proposed technical implementation details (optional)

Implement a command (suggested shortcut: Ctrl+Shift+Ins or Ctrl+Shift+C) to copy (and Ctrl+Shift+X or Ctrl+Shift+Del to move) selected files/folders to the Windows Clipboard as file objects, allowing them to be pasted directly into Windows Explorer or other GUI applications.

User Workflow:

Select one or more files/folders in a Far Manager panel.

Press Ctrl+Shift+Ins (Copy) or Ctrl+Shift+Del (Cut).

Switch to a Windows Explorer window or the Desktop (even in the RDP session on a remote computer).

Press Ctrl+V or Shift+Ins.

The actual files should then be copied (or moved) to that location by the Windows shell.

Currently, I have to open a File Explorer window, find the file(s) or folder(s) that I need to copy/move, Ctrl+Ins or Ctrl+Del them, then switch to where I want them to be and press Shift+Ins to paste (copy/move). Copying right from Far Manager would simplify that.

This would require the internal command to handle the clipboard data as a file list structure rather than a plain text string. This would greatly improve the interoperability between Far Manager and the rest of the Windows environment, making it easier to move assets between the console and GUI apps like Photoshop, Outlook, or Slack.

486DX50 avatar May 14 '26 18:05 486DX50

Try pressing Ctrl+Shift+C today, and you will be surprised.

From the Far Manager help:

Ctrl+Shift+C
Copy the selected files to clipboard.

Ctrl+Shift+X
Cut the selected files to clipboard.

yegor-mialyk avatar May 14 '26 19:05 yegor-mialyk

No way! I should've tried before posting, sorry :D Thank you!

486DX50 avatar May 15 '26 16:05 486DX50