IWshRuntimeLibraryを使用してc#でショートカットを作成しています。ショートカットファイル名はヒンディー語「नमस्ते」です。
私は次のコードを使用してショートカットを作成しています。shortcutName = "नमस्ते.lnk"
WshShellClass wshShell = new WshShellClass();
IWshRuntimeLibrary.IWshShortcut shortcut;
shortcut = (IWshRuntimeLibrary.IWshShortcut)wshShell.CreateShortcut(destPath + "\\" + shortcutName);
shortcut.TargetPath = sourcePath;
shortcut.Save();
shortcut.Save()
次の例外が発生しています。
The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)