Dinamik olarak kısayol oluşturmak için aşağıdaki kodu kullanıyorum. Ancak, klasör adında Tay dili, yunan dili gibi unicode karakterler olduğunda targetPath Argüman istisnası atar.Klasör adının unicode karakterlere sahip olduğu Kısayol Oluşturma
dosya sistemindenIWshRuntimeLibrary.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();
Sen gerekebilir adlı bileşeni seçin işlenemeyen unicode karakterleri için (d1234 gibi) yeni dizge için mantık oluşturmak. – Ian