Coping of highlighted files (or folders) to many other highlighted folders as symbol links

Hello!

Just example. I need to copy 20 files to other 35 folders as symbol links:

C:\File_1.txt
C:\File_2.txt
...
C:\File_20.txt

to copy to each of the following folders

D:\Folder_01\..
D:\Folder_02\..
..
D:\Folder_35\..

So, the preferred result:

Result
D:\Folder_01\
             File_1.txt (symblnk)
             File_2.txt (symblnk)
             ..
             File_20.txt (symblnk)
D:\Folder_02\..
             File_1.txt (symblnk)
             File_2.txt (symblnk)
             ..
             File_20.txt (symblnk)
..
D:\Folder_35\..
             File_1.txt (symblnk)
             File_2.txt (symblnk)
             ..
             File_20.txt (symblnk)

I want to make it maybe by script or other functions, with one click. Thanks in advance!

You could use this as a starting point:

That will copy the items, not make symlinks, but I think it'd just be a matter of adjusting the command to tell it to make symlinks instead of copying.

If you need more detailed help, please link your account.

This is probably something where I'd just ask an AI to write a powershell script that uses the mklink command on all the files, and loop through all the folders to add all the links to all the folders.

Assuming you need to add all the same links to all the folders. You'd give a list of paths of the files, and the folders (using right click Copy As Path).

Thanks!

Edited:

function OnClick(clickData)
{
	var source = clickData.func.sourcetab;
	var dest   = clickData.func.desttab;
	var cmd    = clickData.func.command;
	cmd.deselect = false; // Leave source files selected

	if (typeof dest != "object"
	||	dest.selected_dirs.count == 0
	||	source.selected.count == 0)
	{
		clickData.func.dlg.Request("Need selections on both sides","OK");
		return;
	}

	for (var e = new Enumerator(dest.selected_dirs); !e.atEnd(); e.moveNext())
	{
		cmd.AddLine("Copy MAKELINK=softlink TO=\"" + e.item().RealPath + "\"");
	}

	cmd.Run();
}