OpenOffice.org videos and documentation
Plan-B for OpenOffice.org, learning office productivity software with videos


Tech Support for OpenOffice.org
Applications
Go to Open Office Writer Index
Go to Open Office Impress Index
Go to Open Office Math Index
Go to Open Office Draw Index
Go to Open Office Calc Index
Go to Open Office Base Index
Go to Open Office Online Help Index

Start Writer using the command line - OpenOffice.org Writer

How-To: Start Writer using the command line - OpenOffice.org Writer
  1. To start OpenOffice Writer using the command line, first ofcourse, you must be at the command prompt.
  2. Now, on the command line, type in the path of the executable file for Writer in quotation marks.
  3. First the quotation mark...
  4. ..and then you can type in the path for the executable file. In this example we have copied the path for OpenOffice applications from the explorer to the clipboard.
  5. To paste the path to the command prompt, first right mouse click on the top of the application window here.
  6. Then, once the context menu opens, move your mouse to the option "Edit."
  7. Afterwards, on the side menu that appears, click on "Paste."
  8. Good! The path has now been pasted. For writer, the path should end with \swriter.exe. Just type it in.
  9. Finally, end the command with a quotation mark.
  10. Now, press enter to execute the command.
  11. Great! As you can see, OpenOffice Writer has now opened.
  12. Congratulations! You have learned how to open Writer using the command line.
powered by Plan-B screencast technology

Start OpenOffice.org Writer using the command line

This screencast demonstrates how to start OpenOffice.org Writer using the You learn:

  • How to type in the path to the executable file of
  • How to paste in text to the command prompt using the
  • How to open Writer using the command line.

OpenOffice.org command line arguments

Besides directly typing in the path of the executable file for each OpenOffice.org application, you can also use a simple command to directly open each application. Take note that you may need to be within the OpenOffice programs folder to do this. (Default location: C:\Program Files\OpenOffice.org 2.x\program\) This method uses the "soffice" command along with arguments. They are as follows:

  • soffice -writer - Opens Writer
  • soffice -calc - Opens Calc
  • soffice -draw - Opens Draw
  • soffice -impress - Opens Impress
  • soffice -base - Opens Base
  • soffice -math - Opens Math

Alternatively, you can type in these commands directly:

  • swriter - Opens Writer
  • scalc - Opens Calc
  • sdraw - Opens Draw
  • simpress - Opens Impress
  • sbase - Opens Base
  • smath - Opens Math

Along with those commands, you can also use the "soffice" command along with some arguments to initiate various actions in Open Office. This method should follow the form: soffice [options] [documents...]

Argument Action
-globalCreates a new global document
-webCreates a new html document
-minimizesKeep startup bitmap minimized
-invisibleNo startup screen, no default document and no UI
-norestoreSuppress restart/restore after fatal errors
-quickstartStarts the quickstart service (Only in Windows)
-nologoDon't show the startup screen
-nolockcheckDon't check for remote instances using the installation
-nodefaultDont start with an empty document
-headlessLike the "invisible" argument, but with no user interaction at all
-help -h -?Shows the help message for OpenOffice command line arguments
-o -nOpen documents regardless where they are templates or not
-display [display]Specifies the X-display to use in Unix/X11 versions
-p [documents...]Prints the specified documents using the default printer
-pt [printer][documents...]Print the specidied documents in the specified printer
-view [documents...]Open the specified documents in viewer or readonly mode
-show [presentation]Open the specified presentation and start it immediately
-accept=[accept-string]Specify na UNO connect strong to create an UNO acceptor through which other programs can connect to access the API
-unaccept=[accept-string]Close and acceptor that was created using the "-accept=[accept-string]" command. Use "-unaccept=all" to lose all open acceptors.

Advanced topics

For related functionality see:

OpenOffice.org™ is a trademark of OpenOffice.org.
Windows® is a registered trademark of Microsoft Corporation in the United States and other countries.

Further questions?

*
*
*
* required fields
Get OpenOffice.org - Free!