Understanding the Outlook commands and switches

Understanding the Outlook commands and switches

 Hi friends, in this article I am going to explain about the NDR codes with their details.

Visit my another blog on Microsoft Windows and Exchange Servers

 What are commands and switches?

Each time that you start the program, you run the outlook.exe command, although you do not usually type the command or even see it. You can change certain aspects of how the program starts by adding subcommands called switches to the outlook.exe command.

A switch appears as a space after the main command, followed by a forward slash and the name of the switch, which provide additional information about how to execute the command.

For example, the following command instructs Outlook 2010 to start with the Reading Pane turned off.

  1. The command outlook.exe starts Outlook.
  2. The switch /nopreview starts Outlook with the Reading Pane turned off.

Use a switch one time by adding it to the Run command

First, verify the location of the outlook.exe file on your computer. If you accepted the default folder locations when you installed Outlook 2010, the outlook.exe file is located at the following:

c:\program files\microsoft office\office14\outlook.exe

Outlook 2010 32-bit installed on Windows 64-bit

c:\program files (x86)\microsoft office\office14\outlook.exe

If you do not find the outlook.exe file at that location, search for the file and note the full path.

  1. Do one of the following:
    • Windows 7 and Windows Vista
      • Click the Startbutton, point to All Programs, click Accessories, and then click Run.
    • Windows XP
      • Click the Windows Startbutton, and then click Run.
  1. In the Rundialog box, type a quotation mark, enter the full path for the outlook.exe file, and then type another quotation mark. Alternatively, click Browse to locate and select the file. In this case, the quotation marks are supplied automatically.
  2. After the closing quotation mark, type a space, and then type the switch. For example, you might type:

“c:\program files\microsoft office\office14\outlook.exe” /nopreview

The next time that you start Outlook 2010, the program opens as usual. To make your customized startup available for repeated uses, see the next section.

  • Switches are not case-sensitive. For example, /NOPREVIEWfunctions the same as /nopreview.
  • Remember to include one blank space before the switch and one before each parameter.

Make a switch available for reuse by creating a shortcut

First, verify the location of the outlook.exe file on your computer. If you accepted the default folder locations when you installed Outlook 2010, the outlook.exe file is probably located at the following:

c:\program files\microsoft office\office14\outlook.exe

Outlook 2010 32-bit installed on Windows 64-bit

c:\program files (x86)\microsoft office\office14\outlook.exe

If you do not find the outlook.exe file at that location, search for the file and note the full path.

  1. Right-click the Windows desktop, point to New, and then click Shortcut.
  2. In the Create Shortcut Wizard, in the Type the location of the itembox, type a quotation mark, enter the full path for the outlook.exe file, and then type another quotation mark. Alternatively, click Browse to locate and select the file. In this case, the quotation marks are supplied automatically.
  3. After the closing quotation mark, type a space, and then type the switch and any parameters. For example, you might type:

“c:\program files\microsoft office\office14\outlook.exe” /nopreview

Note:  If the parameter is a path of a location on your computer, it must also be enclosed in double quotation marks.

  1. Click Next.
  2. In the Type a name for this shortcutbox, type a new name that you want to use for the shortcut, and then click Finish.

The wizard creates the shortcut on the desktop.

  1. Whenever you want to start Outlook 2010 in this particular customized way, double-click the shortcut.

TIP    To add the desktop shortcut to the Windows Start menu, right-click the shortcut, and then click Pin to Start menu.

You can create various shortcuts, each of which applies different switches and parameters to the program at startup.

  • Switches are not case-sensitive. For example, /NOPREVIEWfunctions the same as /nopreview.
  • Remember to include one blank space before the switch and one before each parameter.

 

If you like my post keep update me with your valuable comments and feedback.

 

Regards,

Arun Chaudhary

MCP, MCTS, MCITP, MCSE, VCA, ITIL

Email me: arunkalagarh@gmail.com

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: