Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

This article describes the command-line switches that you can use to start OneNote 2016.

In this article

Use a switch once by adding it to the Run command

  1. In the bottom left corner of the Windows task bar, right-click the Start button, and then click Run.

  2. In the Run dialog box that opens, click the Browse button, and then navigate to the ONENOTE.EXE file on your computer's hard drive.

    By default, the ONENOTE.EXE file is located in the C:\Program Files\Microsoft Office\root\Office16 folder.

    Note: Be sure not to confuse the ONENOTE.EXE file with the similarly named ONENOTEM.EXE file located in the same folder.

  3. Click to select the ONENOTE.EXE file, and then click Open.

  4. In the Run dialog box that's still open, place the cursor immediately to the right of the closing quotation mark at the end of the text that's shown in the Open box.

  5. Press the Spacebar to type a single space after the closing quotation mark, and then type the command-line switch that you want to use. See Startup switches available in OneNote 2016 later in this article.

    For example, if you want to start OneNote 2016 and prevent the splash screen from appearing, the text in the Open box should look like this:

    "C:\Program Files\Microsoft Office\root\Office16" /nologo

  6. Click OK to run the command.

    Note: If you receive an error message, make sure that you correctly typed the switch text outside of the file path quotation marks, as shown at the end of Step 5.

Make a switch reusable by creating a shortcut

To create a shortcut on your Windows desktop that lets you start OneNote with a preferred switch, do the following:

  1. Right-click on any blank part of your Windows desktop, point to New, and then click Shortcut.

  2. In the Create Shortcut dialog box that opens, click the Browse button.

  3. In the Browse for Files or Folders dialog box that opens, click This PC, and then click the name of the hard drive labeled as (C:) to navigate to the ONENOTE.EXE file.

    By default, the ONENOTE.EXE file is located in the C:\Program Files\Microsoft Office\root\Office16 folder.

    Note: Be sure not to confuse the ONENOTE.EXE file with the similarly named ONENOTEM.EXE file located in the same folder.

  4. Click to select the ONENOTE.EXE file, and then click OK.

  5. In the Create Shortcut dialog box that's still open, place the cursor immediately to the right of the closing quotation mark at the end of the text that's shown in the Type the location of the item box.

  6. Press the Spacebar to type a single space after the closing quotation mark, and then type the command-line switch that you want to use. See Startup switches available in OneNote 2016 later in this article.

    For example, if you want to start OneNote 2016 and prevent the splash screen from appearing, the text in the Type the location of the item box should look like this:

    "C:\Program Files\Microsoft Office\root\Office16" /nologo

  7. In the Create Shortcut dialog box, click Next.

    Note: If you receive an error message, make sure that you correctly typed the switch text outside of the file path quotation marks, as shown at the end of Step 6.

  8. In the Type a name for this shortcut box, type a descriptive name for the new shortcut, and then click Finish.

Startup switches available in OneNote 2016

Note: The following switches will work only with OneNote 2016 (the desktop version of OneNote on Windows).

Switch

Description

"filename"

Opens a file, where filename is a fully qualified file name, including the drive and folder path and the .one file name extension.

/new

Creates a new section in the currently viewed notebook.

/import "filename"

Imports data from an XML file specified by the filename parameter into OneNote. This command-line switch supports the OneNote 2003 SimpleImporter XML as well as OneNote 2007 XML. For more information about the required format of supported XML files, visit the Microsoft Developer Network (MSDN).

/paste

Pastes the contents of the Clipboard.

/notebookpath "path"

Overrides the default path to the OneNote Notebooks folder that is specified in Filing Rules (Options dialog box, Tools menu).

/backuppath "path"

Overrides the default path to the OneNote Backup folder that is specified in Filing Rules (Options dialog box, Tools menu).

/openro "filename"

Opens a file as Read-Only, where filename is a fully qualified file name, including the drive and folder path and the .one file name extension.

/print "filename"

Prints a file, where filename is a fully qualified file name, including the drive and folder path and .one file name extension.

/sidenote

Starts OneNote in a miniature window and opens the Quick Notes notebook section. If this section does not exist in the current notebook, it will be created.

/audionote

Immediately starts recording audio on the current page.

/videonote

Immediately starts recording video on the current page. If, in a previous OneNote session, no video capture device was specified, the computer's default video capture device will be used.

/pauserecording

Pauses audio or video recording. When executed, this command-line switch does not start a new instance of OneNote; it merely pauses any active recording session. A paused recording can be resumed by executing /pauserecording a second time.

/stoprecording

Stops recording audio or video. When executed, this command-line switch does not start a new instance of OneNote; it merely stops any active recording session.

/hyperlink "pagetarget"

Starts OneNote and opens the page specified by the pagetarget parameter. To obtain the hyperlink for any page in a OneNote notebook, right-click its page tab and then click Copy Link to Page.

/safe

Starts OneNote in Safe Mode. A dialog box with boot options is displayed.

/stationerytaskpane

Displays the Templates task pane.

/applystationery "template"

Applies the specified template file to the current page.

/sendto "filename..."

Inserts the contents of the files specified by the filename parameters on the current page. You can have multiple file paths separated by a space.

/insertdoc "filename" "time"

Inserts the contents of the file specified by the filename parameter as a printout on the current page and adds a time stamp with the time specified by the optional time parameter. 

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×