TOTALCMD.NET
ENG RUS
Plugins › Tools & Utilities

Copy file contents to the clipboard 1.0

⚙️ Windows system 📂 File operations Tools & Utilities Freeware x64

Screenshot: Copy file contents to the clipboard

Description

Script to be used as a button to copy the contents of the selected file to the clipboard.
For image files, it transfers the image to the clipboard. For text files (txt, log, bat, etc.), it transfers the text. Image formats supported are bmp, gif, jpg/jpeg, png, and tiff.

This only works on computers with GDI+ installed (in Windows XP or newer it is installed by default). So for Windows versions newer than XP, this will work out of the box.
For older Windows versions, GDI+ is hard to find. I found the latest version here:

https://web.archive.org/web/20160303183703/http://www.microsoft.com/en-us/download/details.aspx?id=18909

You can download it from there and try it at your own risk. I am also providing the same file downloaded from there, here, for convenience:

https://gitlab.com/pplupo/total-commander/-/raw/master/fileContentsToClipboard/WindowsXP-KB975337-x86-ENU.exe?inline=false

I have also found some references saying that it could be part of .NET framework, so I would rather try that first and see if it works.

It is based on NirCmd features that copy contents of different file types to the clipboard. I'm providing a script to make the parameters independent of the file type, together with nircmdc.exe.

NirCmd is a small free command-line utility that can be downloaded directly from the original website. If you want to update it, just download the newest version and replace nircmdc.exe.

Please report any issues at https://gitlab.com/pplupo/total-commander
For more information, please visit https://gitlab.com/pplupo/total-commander/-/blob/master/README.md#copy-file-contents-to-the-clipboard


This is how to set up the button.

Command: "Path_to_this_utility\Copy File Contents.bat"
Parameters: %S
Run minimized: check

See the screenshot below as an example:

More by Peter Lupo

PlantUML Lister 2.0

🧩 Development & executables Lister Plugins (WLX) Open source x64

Renders PlantUML diagrams (puml, plantuml, uml, wsd, ws, iuml) in Lister as SVG or PNG, with buttons to refresh, save, switch format and copy the image to the clipboard.

Peter Lupo 25 Sep 2025 ↓ 925

Mermaid.js Lister 2.0

📝 Text & code Lister Plugins (WLX) Open source x64

Renders Mermaid.js diagrams (.mermaid, .mmd) in Lister as SVG or PNG via WebView2, with buttons to refresh, save, switch format and copy the image to the clipboard.

Peter Lupo 25 Sep 2025 ↓ 127

Download Torrent 2.0

🌐 Network, internet & cloud Tools & Utilities Freeware x64

Downloads a selected torrent file in the background from a Total Commander button, with no windows to click through. Uses portable qBittorrent and saves to a folder named after the torrent file.

Peter Lupo 19 May 2021 ↓ 52

Similar plugins

PHSM-Calendar 18.24

⚙️ Windows system Tools & Utilities Freeware x64

Perpetual desktop calendar gadget for Windows Vista to 11 with week numbers, daylight saving and time zone info, Flash and HTML5 clocks, alarms, event marking, and Julian, Islamic and Hebrew dates.

Peter H. S. Madsen (petermad) 10 Nov 2026 ↓ 24,251

Startup Guard 0.52

⚙️ Windows system File System Plugins (WFX) Freeware

Lists programs that launch at Windows startup, collecting them from the registry Run, RunOnce, RunOnceEx, RunServices and RunServicesOnce keys and from the Startup folders of all users and the current user.

Sergey Puljajev 13 Nov 2003 ↓ 80,774

Uninstaller64 1.0.1

⚙️ Windows system File System Plugins (WFX) Open source x64

Shows installed applications as a list in the Total Commander panel, displays details of each uninstall entry, launches uninstallation and force-deletes broken entries. Supports Unicode and 64-bit Windows.

Konstantin Vlasov 25 Jun 2012 ↓ 26,332

SnipClip 1.9

⚙️ Windows system Tools & Utilities x64

Turns the Total Commander clipboard into a searchable, permanent virtual panel with pinned StickySnips, merged text blocks, automatic screenshot capture and an F3 list editor.

Native2904 4 Nov 2026 ↓ 1,677

Wlx2Explorer 1.6.0

⚙️ Windows system Tools & Utilities Open source x64

Lets you use Total Commander Lister plugins directly from Windows Explorer, so files can be previewed there with the same plugins. Requires .NET Framework 4.0.

AlexanderPro 4 Nov 2026 ↓ 6,605

Registry 5.2

⚙️ Windows system File System Plugins (WFX) Freeware x64

Lets you browse and edit the Windows registry as a file system in Total Commander: search, create, copy, delete and edit keys and values, export, view, change permissions and work with a remote registry.

Vitaly Knyazev 4 Aug 2012 ↓ 167,463