Cómo crear accesos directos que tienen dos objetivos
Estoy creando un acceso directo usando el siguiente script:
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
AoShellLink.TargetPath = "C:\Windows\System32\mshta.exe D:\path\to\file.hta"
está atascado ya que hay un espacio en la ruta de destino. ¿Cómo lograr esto? Intenté manipular cuerdas como esta también.
"C:\Windows\System32\mshta.exe" & " " & """" & "D:\PLR\software\plrplus.dll" & """"