MultiCommander v14.1 is released!
// ------------------------------------------------------------// http://forum.multicommander.com/forum/index.php/topic,1345.msg4769.html#msg4769// To create Symlinks you must be admin.// You can add "ASADMIN" and you will get a UAC dialog, or you can start MC as admin.// LNKTYPE 3 = Symlink// MC.Utils.CreateLink ASADMIN LNKTYPE=3 LNKSRC="<new source folder>" LNKTRG="<existing target folder>"// <new source folder> Must not exists.// <existing target folder> It exists.// UAC dialog is shown and MCAdmin (Admin helper Process) is starts// SymLink folder is created and points to existing target folder// ------------------------------------------------------------// http://multicommander.com/docs/customcommands_list#mc.utils.createlink// MC.Utils.CreateLink// LNKTYPE 1 = Hardlink, 2 = Junction, 3 = Symlink, 4 = Shortcut// Windows CMD command:// MKLINK [[/D] LinkName Target// /D Create a Directory symbolic link. (default is file)// We're trying this:// mklink /D "D:\Cloud\Folder" "C:\Labo\MyFolder\"// ------------------------------------------------------------@var $source_folder = "D:\\Cloud\\Folder\\";// @var $env = TranslateEnvString("%USERPROFILE%");// @var $target_folder = $env ^ "Documents\\MyFolder\\";@var $target_folder = "C:\\Labo\\MyFolder\\";// LNKTYPE 3 = SymlinkMC.Utils.CreateLink ASADMIN LNKTYPE=3 LNKSRC={$source_folder} LNKTRG={$target_folder}