Download CopyFilenames v3.1
Windows 10, or
Windows 8, or
Windows 7, or
Windows Vista, or
NEW PRODUCT ANNOUNCEMENT
ExtraBits has just been released, which adds the same commands to Windows File Explorer as CopyFilenames, plus lots more.
ExtraBits is also free for non-commercial use (up to a limit of 100 selected items).
CopyFilenames is an extension for Windows File Explorer. It cannot be run as a standalone application. After installing CopyFilenames, right click on one or more files or folders in Windows File Explorer and you will see the extra commands added by CopyFilenames.
Windows has no built in way to copy a filename or folder listing to the clipboard. For a single file, you can use File > Rename, CTRL+C, then ESC to copy a filename to the clipboard, but this is quite tedious if you have to do this frequently or for lots of files.
CopyFilenames comes to the rescue! This adds an extra menu command to the context menu in Windows File Explorer (this is the menu that pops up when you right click on a file). This command lets you copy the filename in one operation.
CopyFilenames can also be used to copy lots of filenames all in one go. By default, the filenames will be copied one per line.
CopyFilenames also makes it very easy to copy the full path to a file. If you hold down SHIFT while selecting the Copy Filenames command, the full path to the file will be copied instead of just the filename. This path can then be pasted into any application that has a field for a path to a file, or into a file open panel.
This can be a real timesaver when you already have the right folder open in Windows File Explorer, since you do no longer need to navigate to that same folder in another application to use a file in that folder!
It doesn't just stop there - you can also include the size of the file or the last-modified date instead of just the filename. To select these options, hold down the CTRL key while selecting the Copy Filenames to bring up the options panel. If you have selected the option to copy the full path, you can also select to have the backslashes doubled up (programmers will appreciate the value of this), or use forward slashes instead. There is also an option to include either single or double quotes around the names.
These additional attributes are tab separated from the filename, so they can, for example, be easily pasted into a spreadsheet program such as Excel so that the filenames will be in one column and the sizes in the next.
In addition to being able to copy filenames, this utility also adds two other commands which appear when appropriate. These commands can be used to replace one file with another. This is invaluable in the situation where you have two files in a folder, and you want to delete one, and rename the other to the name of the file that was deleted.
All CopyFilenames commands work equally well with folders as well as files.