How to create shortcuts having two target
<p>I am creating a shortcut using the following script:</p>

<pre><code>Set oShellLink = objShell.CreateShortcut("shortcut.lnk")
oShellLink.TargetPath = "C:\Windows\System32\mshta.exe D:\path\to\file.hta"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "logo.ico"
oShellLink.Description = "app"
oShellLink.WorkingDirectory = desktop
oShellLink.Save
</code></pre>

<p>At <code>oShellLink.TargetPath = "C:\Windows\System32\mshta.exe D:\path\to\file.hta"</code> it's stuck as there is a space in the target path. How to accomplish this? I tried manipulating string like this also.</p>

<pre><code>"C:\Windows\System32\mshta.exe" &amp; " " &amp; """" &amp; "D:\PLR\software\plrplus.dll" &amp; """"
</code></pre>