Copy folder with shortcuts - Paste Special: folder with source files of these shortcuts

Features wanted...
Post Reply
longfn
Posts: 5
Joined: 25 Nov 2020 16:39

Copy folder with shortcuts - Paste Special: folder with source files of these shortcuts

Post by longfn »

Copy shortcuts, paste special: the sources file of these shortcuts.

Copy folder (recursively all its content).
If this folder contains shortcuts, the program will paste special: the sources file of these shortcut.

admin
Site Admin
Posts: 62449
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Copy folder with shortcuts - Paste Special: folder with source files of these shortcuts

Post by admin »

Could be done, but not extremely useful.

longfn
Posts: 5
Joined: 25 Nov 2020 16:39

Re: Copy folder with shortcuts - Paste Special: folder with source files of these shortcuts

Post by longfn »

Thank you, admin!

I have a folder with many documents shortcuts. Each time I need to copy them to my usb drive, it takes a lot of time to trace back all shortcuts.
Otherwise, we need to write and run Powershell script to do that.

If XYplorer implements this feature, it will be unique for a file management program on Windows (XYplorer) that supports this function.

I look forward to this feature in our coming updates.

Best regards.

admin
Site Admin
Posts: 62449
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Copy folder with shortcuts - Paste Special: folder with source files of these shortcuts

Post by admin »

I just saw that there is already another way to do it: Copy the target! (Right-click / Shortcut Target / Copy Shortcut Target Item)
Attachments
CopyShortcutTargetItem.png
CopyShortcutTargetItem.png (10.66 KiB) Viewed 321 times

longfn
Posts: 5
Joined: 25 Nov 2020 16:39

Re: Copy folder with shortcuts - Paste Special: folder with source files of these shortcuts

Post by longfn »

Could we do that for a folder recursively?
If a file, copy it.
If a shortcut, copy its source file.

I have a folder with multpie sub-folders, contains mix of files and shortcuts.

Thanks.

admin
Site Admin
Posts: 62449
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Copy folder with shortcuts - Paste Special: folder with source files of these shortcuts

Post by admin »

Not possible.

I think you should look into scripting instead. This is a rather exotic request that not many users would find useful.

To get you started, this will extract the link target from a selected LNK file:

Code: Select all

echo property("#LinkTarget", <curitem>);

Post Reply