I want to create a shortcut which opens with a Document Location different
than the default. Is there a command line instruction to do this?
Thanks
Dave
Graham Mayor - 05 Jun 2004 07:45 GMT
Create a macro containing the line (where path is the directory you want to
set)
ChangeFileOpenDirectory "C:\Path\"
and create a shortcut to Word with the command line Winword /mmacroname to
call that macro.

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>><
> I want to create a shortcut which opens with a Document Location
> different than the default. Is there a command line instruction to
[quoted text clipped - 3 lines]
>
> Dave
AA - 05 Jun 2004 14:55 GMT
> I want to create a shortcut which opens with a Document Location different
> than the default. Is there a command line instruction to do this?
The /m parameter will run a macro whose name follows right after. So
/mMACRONAME will run a macro named MACRONAME
Now you just have to write a macro to change the Document Location....