I've got a Rexx program I use to start up all the shortcuts in a folder.
 I recently added a shortcut for MS Outlook, and suddenly START claims
it can't find the file!  Not the target of the shortcut, but the
shortcut itself.  Same thing happens when the target of the shortcut is
any Office component:

"C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE"
"C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE"
"C:\Program Files\Microsoft Office\root\Office16\MSACCESS.EXE"
"C:\Program Files\Microsoft Office\root\Office16\ONENOTE.EXE"
"C:\Program Files\Microsoft Office\root\Office16\POWERPNT.EXE"
"C:\Program Files\Microsoft Office\root\Office16\WINwORD.EXE"

From the command line or a .CMD file, START works fine:

>  start "" "Outlook.lnk"

But when OORexx issues it:

>     2 *-* 'start "" "Outlook.lnk"'
>       >>>   "start "" "Outlook.lnk""

I get a popup complaining:

>       C:\gsk\startup\Outlook.lnk
>       The specified path does not exist.
>
>       Check the path, and then try again.

and this message:

>The system cannot find the file C:\gsk\startup\Outlook.lnk.
>       +++   "RC(1)"

If I modify the same shortcut to issue any other command, it works fine.
 The command can even be a .CMD file or Rexx program that calls Office.
Wrapping START in a .CMD file doesn't help, though.  Any ideas what's
going on here?

¬R




_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to