Main command line switches:- -- COPYNAMES/K Copy paths and filenames of selected items to clipboard.

Options: = allunc Contrary to the internal "Clipboard COPYNAMES=unc" command, this one does convert file-paths to UNC format *even for local drives* by autodetecting the local ip-address. Local drive letters will be converted to admin-shares (C: -> \\localhost\C$). For pasting, please watch the PASTEFROMCLIP switch.

The default Clipboard COPYNAMES command will be used if no option is given.

- -- PASTEFROMCLIP/S Paste clipboard items. Contrary to the internal "Clipboard PASTE" command, this one also supports filesystem items from a textual list in the clipboard. This is handy if you stored paths to files and folders in text form (in an email e.g.) and want to create real copies of these items.

- -- PASTETOFOLDERS/S Paste *text* or regular items from the clipboard to all selected folders. The dedicated script command "PasteToFolders" is obsolete with this, will not be updated anymore and does not support textual clipboard content. viewtopic.php?f=35&t=23507

- FOLDERS/O Since v.0.3.7 you can also specifiy the target folders by providing a single path or multiple paths to the FOLDERS option (separate paths by ";").

- -- PASTETOCONTAINERS/S Paste *text* or regular items from the clipboard to the containing folder of selected items. This is handy for moving items around in "flatview no folders" mode. You can move and copy items by pasting items directly over others, which already reside in the desired target. The location column is a good place to see where your items go.

- -- MOVE/S Move items instead of copying them. Meant to be used with PASTEFROMCLIP, PASTETOFOLDERS and PASTETOCONTAINERS.

- -- PASTEEMPTY/S Create empty files from text, paths or filenames in clipboard. Very handy for quickly creating a bunch of empty files to test commands or scripts on.

- -- TRIM/O Trim clipboard content. Trimming left and right is default handling. You can trim left by using TRIM=left or trim only on the right hand side with TRIM=right.- TRIMCHARS/O The characters to trim. Default is " " (blanks).

Installation:To install the command, download the *.js.txt file below and drag it to Preferences / Toolbars / Scripts.After that the command shall be ready to use in buttons, scripts and externally from dopusrt.exe of course.

Try this.. It uses "ClipboardEx PASTETOFOLDERS" whenever there are multiple folders selected.The regular paste will be used for all other cases. Don't forget to change button-type to "Script Function".

Great, it works! Thanks!!!Just observed.. when a file is CUT and paste with multiple folders selected, it gets copied to all those folders, but the original file is left undeleted. Not a big deal, but just wanted to bring to your notice

Good find, unfortunately there's nothing I can do about that. o) The script cannot determine wether the clipboard content has been "cut" or "copied". The DO devs would need to add some kind of operation-indicator to the scripting API. I ran into the same, so maybe it's time to ask them? Leo, Jon - what do you think? o)

Updated to v0.3.5:- new feature "PASTETOCONTAINERS" to copy/move clipboard items to the parent folder of items.This is handy for moving items around in "flatview no folders" mode by "pasting" onto items,which already reside in the desired target (as shown in location column e.g.).- new switch "MOVE" to move items instead of coping for PASTEFROMCLIP, PASTETOFOLDERS and PASTETOCONTAINERS

Hi tbone, PASTETOCONTAINERS is a must have to me, thank you very much for that !The must would to be able to use the soft links or junctions of folders with ClipboardEx (for example with the copy to multifolder option).

You don't like my frenglish ?? lolok give me an extra ball and let me shoot again :I would like ClipboardEx to be able to copy/move to directories, pointed with soft links, hard links and junctions.please, have a look to https://www.gpsoft.com.au/help/opus12/D ... ctions.htmThe english in the manual is much better lol

When I use PASTETOFOLDERS, I have some duplicate files to paste, I want to automatically ignore these duplicate files. This plugin may be able to add a button options.In the jpg under the two buttons , add a options"automatically remove duplicate files", rather than each time click skip this file.