I am trying to create a Shortcut .lnk file for a file. but I unable to set the target path. this is my target path C:\TeklaStructures\2020.0\nt\bin\TeklaStructures.exe -I "C:\TeklaStructures\DowFirm\TS2020\Imperial\EngBypass.ini" "C:\TeklaStructures\NewModel"
this is my code
WshShell wsh = new WshShell();
IWshShortcut MyShrotcut = (IWshShortcut)wsh.CreateShortcut(ModelLinkFile);
MyShrotcut.TargetPath = "C:\TeklaStructures\2020.0\nt\bin\TeklaStructures.exe -I \"C:\TeklaStructures\DowFirm\TS2020\Imperial\EngBypass.ini\" \"C:\TeklaStructures\NewModel\"";
MyShrotcut.Save();
Thanks in advance.
Anilkumar