SET STEP ON cTargetPath = '"C:\Program Files\Newbie\Newbie.exe"' cParameters = CHR(32) + cHR(47) + "login admin" +CHR(32) +CHR(47) +"password asdfasdf" cParameters = (cParameters) cTarg = cTargetPath + cParameters WshShell = CreateObject("WScript.Shell") strDesktop = WshShell.SpecialFolders("Desktop") oShellLink = WshShell.CreateShortcut(strDesktop + "\Newbie Shortcut.lnk") oShellLink.TargetPath = cTarg mtarg = oShellLink.TargetPath oShellLink.WindowStyle = 1 oShellLink.IconLocation = "newbie.exe, 0" oShellLink.Description = "new bie Shortcut" oShellLink.WorkingDirectory = "C:\Program Files\Newbie\" mloc = oShellLink.WorkingDirectory oShellLink.SaveAll goes well until I pass cTarg to
oShellLink.TargetPath = cTarg. I know there is a problem because in thenext line
mtarg = oShellLink.TargetPathin the debugger, I can see that all of the symbols / have been turned into symbol