Copy paths of selected files to clipboard

Use this button to copy the paths including the terminating backslash "" character.

<?xml version="1.0"?> <button display="label"> <label>Copy Paths</label> <tip>Copies the folder paths of all selected files and folders to the clipboard (includes terminating &quot;\&quot;)</tip> <icon1>#copyfilenames</icon1> <function type="normal"> <instruction>Clipboard COPYNAMES REGEXP &quot;(.*\\)([^\\]*)&quot; &quot;\1&quot;</instruction> </function> </button>

Use this button to copy the paths excluding the terminating backslash "" character.

<?xml version="1.0"?> <button display="label"> <label>Copy Paths - noterm</label> <tip>Copies the folder paths of all selected files and folders to the clipboard (excludes terminating &quot;\&quot;)</tip> <icon1>#copyfilenames</icon1> <function type="normal"> <instruction>Clipboard COPYNAMES REGEXP &quot;(.*)(\\)([^\\]*)&quot; &quot;\1&quot;</instruction> </function> </button>

Read This FAQ: How to add example buttons to your toolbars and menus

NOTE: The toolbar buttons above use an icon from this icon set: Opus 9 Unofficial Extra Icons.