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 ↓ 911

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 ↓ 120

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 ↓ 48

Similar plugins

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,759

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,594

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,663

RegHive 0.2

⚙️ Windows system Lister Plugins (WLX) x64

Opens offline registry hive files such as NTUSER.DAT, SOFTWARE and SYSTEM in Lister with F3, showing a key tree and values table, with search and a simple comparison of two hives. Read-only.

Native2904 24 Sep 2026 ↓ 690

AceHelper 0.3.7

⚙️ Windows system File System Plugins (WFX) Freeware

Shows detailed information about running processes: modules, threads, open files, registry keys, memory, windows, ports and connections. Can change priority, end processes, inject modules and manage threads.

Botace 28 Sep 2009 ↓ 104,398

PHSM-Calendar 18.23

⚙️ Windows system Other Downloads 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 Oct 2026 ↓ 24,225