Создание ярлыка, в котором имя папки содержит символы Юникода
Я использовал приведенный ниже код для динамического создания ярлыков. Но targetPath генерирует исключение Argument, когда имя папки содержит символы Юникода, такие как тайский, греческий язык.
IWshRuntimeLibrary.WshShell shell = new WshShell();
IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(shortcutLocation);
shortcut.Description = "My shortcut description"; // The description of the shortcut
shortcut.WorkingDirectory = currentPath;
shortcut.TargetPath = targetFileLocation; // The path of the file that will launch when the shortcut is run
shortcut.Save();