PC Review


Reply
Thread Tools Rate Thread

Command line switches

 
 
Steve
Guest
Posts: n/a
 
      27th Dec 2004
I want word to default to a certain template when I run from the desktop. (I
don't want to replace normal.dot.) The Word helpfile (after a lot of
searching) says you can use a /t switch from the command line (the Run
command from the Start menu) to specify a template name. However, the Run
command doesn't seem to recognise anything with a "/" symbol after the
filename. Is there a compatibility problem here? How can I achieve this? Can
it be done from a shortcut?


 
Reply With Quote
 
 
 
 
Suzanne S. Barnhill
Guest
Posts: n/a
 
      27th Dec 2004
The full path for winword.exe must be enclosed in quotes. The slash must be
outside the quotes, preceded by a space; the template name must follow the
slash without a space, and its full path must also be enclosed in quotes.
For more, see “WD: Word Startup (Command-Line) Switches and Their Purpose”
at http://support.microsoft.com/?kbid=210565

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Steve" <(E-Mail Removed)> wrote in message
news:cqp6ro$ffg$(E-Mail Removed)...
> I want word to default to a certain template when I run from the desktop.

(I
> don't want to replace normal.dot.) The Word helpfile (after a lot of
> searching) says you can use a /t switch from the command line (the Run
> command from the Start menu) to specify a template name. However, the Run
> command doesn't seem to recognise anything with a "/" symbol after the
> filename. Is there a compatibility problem here? How can I achieve this?

Can
> it be done from a shortcut?
>
>


 
Reply With Quote
 
Beth Melton
Guest
Posts: n/a
 
      27th Dec 2004
Suzanne provided you with the info for using the /t switch, however
why not just create a shortcut to your template and use it instead?
The default action for Word templates is to create a new document
based on the template rather than opening the template for editing.

Personally I prefer this method since if I want to open the template
for editing I can right-click the shortcut and select "Open".

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/


"Steve" <(E-Mail Removed)> wrote in message
news:cqp6ro$ffg$(E-Mail Removed)...
>I want word to default to a certain template when I run from the
>desktop. (I don't want to replace normal.dot.) The Word helpfile
>(after a lot of searching) says you can use a /t switch from the
>command line (the Run command from the Start menu) to specify a
>template name. However, the Run command doesn't seem to recognise
>anything with a "/" symbol after the filename. Is there a
>compatibility problem here? How can I achieve this? Can it be done
>from a shortcut?
>



 
Reply With Quote
 
Steve
Guest
Posts: n/a
 
      28th Dec 2004
It works!

Thanks for both solutions.

Steve


"Steve" <(E-Mail Removed)> wrote in message
news:cqp6ro$ffg$(E-Mail Removed)...
>I want word to default to a certain template when I run from the desktop.
>(I don't want to replace normal.dot.) The Word helpfile (after a lot of
>searching) says you can use a /t switch from the command line (the Run
>command from the Start menu) to specify a template name. However, the Run
>command doesn't seem to recognise anything with a "/" symbol after the
>filename. Is there a compatibility problem here? How can I achieve this?
>Can it be done from a shortcut?
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command-line switches rjchaney Microsoft Outlook VBA Programming 0 23rd Mar 2009 10:18 PM
Command-line switches TJ Dowling Microsoft Excel Misc 2 8th Feb 2008 04:00 PM
Command line switches =?Utf-8?B?U2ltb24gQ2xlYWw=?= Microsoft Access 4 13th Jan 2006 04:46 PM
Command Line Switches John P. Spyware Discussion 5 21st Apr 2005 10:48 PM
Re: command line switches Steven Fredette Spyware Discussion 0 2nd Feb 2005 01:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:57 PM.