Kif (u Għaliex) tibda Microsoft Word mill-Prompt tal-Kmand


Bħal ħafna mill-apps, tista 'tniedi Word mill-Prompt tal-Kmand, iżda Word tappoġġja wkoll bosta swiċċijiet fakultattivi għall-kontroll tal-proċess tal-istartjar.

Kemm jekk ittajpja l-kmand fil-pront, tużah biex toħloq shortcut, daħħalha bħala parti minn script tal-lott, it-tnedija ta’ Word b’parametri addizzjonali tħallik tagħmel affarijiet bħal tibda Word fil-Modalità Sikura biex issolvi l-problemi jew tibda b’mudell speċifiku.

Uża l-Prompt tal-Kmand biex tibda Kelma

Qabel ma nkunu nistgħu niftħu Word bl-użu tal-Prompt tal-Kmand, għandna bżonn insemmu liema direttorju jinsab il-fajl winword.exe. Tista 'tagħmel dan manwalment, jew tista' sempliċement ikollok il-Prompt tal-Kmand issibha għalik. Biex tagħmel dan, kompli u tiftaħ il-Prompt tal-Kmand billi tiftaħ il-menu tal-bidu u ttajpja \"cmd ” u tagħżel l-applikazzjoni \"Prompt tal-Kmand".

Meta tiftaħ il-Prompt tal-Kmand, int tkun fid-direttorju tal-ogħla livell—folder tal-kont tal-utent tiegħek. Irridu nħaffru aktar fil-fond billi nidħlu fid-direttorju tal-Fajls tal-Programm. Agħmel hekk billi ddaħħal il-kmand li ġej u mbagħad tagħfas Enter:

cd\ ”fajls tal-programmi (x86) ”

Issa tkun fid-direttorju tal-Fajls tal-Programm. Il-pass li jmiss huwa li jillokalizza d-direttorju fejn jinsab il-fajl winword.exe. Agħmel hekk billi ttajpja l-kmand li ġej u tagħfas \"Enter."

dir winword.exe /s

Ladarba ddaħħal dan il-kmand, il-Prompt tal-Kmand jillokalizza d-direttorju għalik.

Issa li taf id-direttorju fejn jinsab il-fajl winword.exe, tista 'tuża l-kmand cd biex tiftaħ il-mogħdija tal-fajl. F'dan l-eżempju, ikollok bżonn li ddaħħal il-kmand li ġej:

cd Microsoft Office\root\Office16

Issa għandek tkun fid-direttorju fejn jinsab winword.exe.

Issa, jekk trid tiftaħ Microsoft Word bl-istess mod bħallikieku qed tiftaħha permezz tal-ikona tagħha, kull ma trid tagħmel hu li ttajpja winword u mbagħad agħfas \"Enter, ” u Word tiftaħ is-soltu mod.

Madankollu, il-punt kollu tal-użu tal-kmand huwa li tista 'tuża l-iswiċċijiet u l-parametri differenti li toffri.

Swiċċijiet u Parametri tal-Linja ta' Kmand tal-Kelma Komuni

Mislufa mis-sit uffiċjali ta 'appoġġ tal-Microsoft Office, hawn lista ta' xi modi possibbli biex tiftaħ Word, flimkien mal-kmand rispettiv tagħha.

Switch and Parameter Description
/safe Starts Word in Safe Mode. This launches Word without any additional add-ins, templates, and other customizations. It’s helpful when troubleshooting problems in Word.

You can also launch Word in Safe Mode by holding down the Ctrl key while launching Word from the Start menu, creating a shortcut with this parameter makes it that much easier.

/q Starts Word without displaying the Word Splash screen.
/ttemplatename Starts Word with a new document based on a template other than the Normal template.

Example: Assume we wanted to open a document stored on the C drive called example.docx, we’d type the following command:

 

/tc:\example.docx

 

Note: Do not put a space between the switch and the name of the file.

/t filename Starts Word and opens an existing file.

 

Example: To start Word and open the existing file example.docx, stored on the C drive, enter the following:

 

/t c:\example.docx

To open multiple files, example.docx and example2.docx, located in the C drive at once, enter the following:

 

/t c:\example.docx c:\example2.docx

/f filename Starts Word with a new document based on an existing file.

Example: To start Word and create a new document based on file example.docx, stored on the desktop, enter the following:

 

/f “c:\Documents and Settings\All Users\Desktop\example.docx

/h http://filename Starts Word and opens a read-only copy of a document that is stored on a Microsoft Windows SharePoint Services site. The site must be on a computer that is running Word 2007 or later or Windows SharePoint Services 2.0 or later.

 

Example: To start Word and open a copy of a file example.docx, stored in a document library at the URL http://MySite/Documents, enter the following:

 

/h http://MySite/Documents/example.docx

 

Note: If the document is checked out to you, the /h switch has no effect. Word opens the files so that you can edit it.

/pxslt Starts Word and opens an existing XML document based on the specified XSLT.

 

Example: To start and apply the XSLT MyTransform, stored on the C drive, enter the following:

 

/pc:\MyTransform.xsl c:\Data.sml

/a Starts Word and prevents add-ins and global templates (including the Normal template) from being loaded automatically. The /a switch also locks the settings files.
/ladd-in Starts Word and then loads a specific Word add-in.

 

Example: To start Word and load the add-in Sales.dll, stored on the C drive, enter the following:

 

/ic:\Sales.dll

 

Note: Do not include a space between the switch and the add-in name.

/m Starts Word without running any AutoExec macros.
/mmacroname Starts Word and the runs a specific macro. The m/ switch also prevents word from running any AutoExec macros.

 

Example: To start Word and then run the macro Salelead, enter the following:

 

/mSalelead

 

Note: Do not include a space between the switch and the macro name.

/n Starts a new instance of Word with no document open. Documents opened in each instance of Word will not appear as choices in the Switch Windows list of other instances.
/w Starts a new instance of Word with a blank document. Documents opened in each instance of Word will not appear as choices in the Switch Windows list of other instances.
/r Re-register Word in the Windows registry. This switch starts Word, runs Office Setup, updates the Windows registry, and the closes.
/x Starts Word from the operating system shell so that Word responds to only one DDE request (for example, to print a document programmatically).
/ztemplatename Visibly behaves exactly like the /t switch. However, you can use the /z switch with Word to generate both a Startup and a New event, whereas the /t switch generates only a Startup event.

Dak kollu hemm! Issa għandek tkun tista 'tiftaħ Word bi kwalunkwe mod speċifiku li tagħżel billi sempliċement issegwi dawn il-kmandi.