Copying a File vs Copying Its Contents on Windows
By Khushi Yadav
When you select a file in File Explorer and press Ctrl+C, Windows doesn't copy the file's data. It puts a reference to the file, its full path, on the clipboard, and the bytes are only copied when you paste into a folder. Copying a file's *contents* is different: you open the file and copy what's inside it, such as text or an image, which documents and chat apps can paste but File Explorer can't turn back into a file.
That difference explains most "it pasted the wrong thing" moments.
The three things "copy" can mean
| What you do | What goes on the clipboard | Pastes well into |
|---|---|---|
| Select a file in File Explorer, press Ctrl+C | A file list: the full path of each selected file | Another Explorer folder, apps that accept pasted files |
| Open the file and copy from inside it | Its contents: text, formatted text (HTML) or an image | Word, email, chat, image editors |
| Right-click the file and choose Copy as path | The path as plain text, in quotes | Terminals, scripts, tickets, Notepad |
Developers know the first one as CF_HDROP. Microsoft documents it as a format "used when transferring the locations of a group of existing files": a list of full paths, with no file data inside. That is why copying a 4 GB video is instant. Nothing is read until you paste. How Windows file drop lists work covers the format itself.
It also means the file has to still be there. If you copy a file, then delete or rename it before pasting, the paste fails because the path points at nothing.
Why the same copy pastes differently in different apps
One copy can put the same information on the clipboard in several formats at once. Microsoft's guidance is that the app copying the data lists the most descriptive format first, and the app pasting it takes the most descriptive format it recognises.
So when a browser's Copy image offers HTML and a bitmap together, Word may take one and a chat app another. An Explorer file copy offers file formats, so an app that only understands text or images has little or nothing it can use. Images copied as DIB, PNG or HTML walks through the image case.
How to copy the thing you actually need
| You want | Do this |
|---|---|
| A duplicate of the file in another folder | Select it in File Explorer, Ctrl+C, open the destination folder, Ctrl+V |
| An image inside a Word document or chat message | Open the image and copy it from the app, or use Insert > Pictures in Word |
| A screenshot saved as a file in a folder | Save it first (Snipping Tool saves snips to your Screenshots folder by default), then copy the file |
| The file's location for a terminal or ticket | Right-click the file and choose Copy as path |
| A picture in Photoshop | Drag the file onto the document or use File > Place Embedded |
Each of these has a dedicated walkthrough: copying an image instead of the file, getting a screenshot into Explorer as a file, and why pasting an image file into Photoshop does nothing.
Cut is a reference too
Ctrl+X in File Explorer doesn't move anything when you press it. It puts the same file list on the clipboard with a note that the source prefers a move. Microsoft calls this a delete-on-paste operation: the files stay in place, shown dimmed, until a paste succeeds. If you cut files and never paste, nothing is lost.
What clipboard history keeps
Windows clipboard history (Win+V) stores text, HTML and bitmap images, so file copies never appear in it. A path you copied as text does appear, because it is text. Clipboard sync between PCs also works with text, so it can't send a file to another computer; at most it sends a path that means nothing on the other machine. Does Windows clipboard sync upload what you copy? has the details.
Can you copy a binary file's contents through the clipboard?
Not in any useful way. If you open an .exe, .zip or database file in a text editor and copy what you see, you copy the editor's text rendering of the bytes, not the bytes. Windows text formats also end at the first null character, and binary files are full of zero bytes. The pasted result won't run, open or match the original checksum.
To move or share a binary file, copy the file itself in File Explorer, attach it, or use a file transfer tool. To look at its bytes, use a hex viewer or PowerShell's Format-Hex, which produce a text dump that survives the clipboard. Copying hex dumps without losing alignment covers that case.
Keeping both files and images on hand
If you regularly move between "I need the file" and "I need the picture", a clipboard manager that understands both helps. Edge Drop, made by the team behind this site, records Explorer file copies as references to the original files and keeps copied images as PNGs, and you can drag either kind of card into a folder or another app. Dragging an item out of Edge Drop shows how.
FAQ
Does copying a large file use a lot of memory?
No. The clipboard holds only the file's path. The data is read from disk when you paste.
Can I paste a file after deleting the original?
No. The clipboard never had the file's data, only its location. Restore it from the Recycle Bin and copy it again.
Why does copying a file and pasting into a chat sometimes attach it?
Some apps accept pasted file lists and treat them as attachments. Others only accept text or images and ignore the file list.
Related reading
- Clipboard vs File Copy in Windows: What's the Difference?
- Why Win+V Doesn't Show Copied Files (and What Does)
- How to Copy an Image (Not the File) to the Clipboard
- How to Copy a File Path in Windows 11 (Copy as Path)
Sources
- Shell Clipboard Formats (Microsoft Learn) — CF_HDROP as the locations of existing files; preferred drop effect for cut.
- Clipboard Formats (Microsoft Learn) — several formats per copy, most descriptive first.
- Standard Clipboard Formats (Microsoft Learn) — text formats end at a null character.
- Handling Shell Data Transfer Scenarios (Microsoft Learn) — delete-on-paste for cut and paste.
- Using the clipboard (Microsoft Support) — clipboard history formats and sync.
- Use Snipping Tool to capture screenshots (Microsoft Support) — snips saved to the Screenshots folder by default.
Khushi Yadav writes Edge Drop's workflow and design guides and is a B.Tech Computer Science Engineering student. Khushi's posts are checked against Microsoft's documentation and the Edge Drop fact sheet.
GitHub · LinkedInCopy. Stack. Drop.
Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.
Download for Windows Get from Microsoft Store
How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge Drop vs Win+V · Support
Free · Lightweight · Privacy First