Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Menus and Toolbars / June 2004

Tip: Looking for answers? Try searching our database.

Using Command Line Instructions in Word 2000

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave B - 05 Jun 2004 04:21 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?

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....
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.