toolbar button macro

In acad2007:
If I type this at the command line:
(startapp "c:\\program files\\microsoft office\\office\\winword.exe")
msword opens
However, if I assign that to a button on a toolbar, it hangs at (startapp c:
as if it were paused waiting for input (\)
If I change to forward slashes in the button macro:
(startapp "c://program files//microsoft office//office//winword.exe")
the button works and msword opens
Why?
Reply to
Pete
Loading thread data ...

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.