# AR# 38335

## 描述

When I launch the PlanAhead tool from the Start Menu or Desktop Icon, nothing happens.

If I attempt to launch it from a command line, the following error message occurs:

\Common was unexpected at this time

What is the problem?

## 解决方案

The message occurs when there is something unexpected in the "planAhead.bat" batch file.

When the batch files are run prior to launching the PlanAhead executable, the PATH environment variable has some entries added to it.

The problem occurs when the pre-existing PATH environment variable has an entry or entries that include parentheses inside of quotation marks.

This is common on 64-bit Windows (i.e., PATH=C:\"Program Files (x86)"\...) when programs installed in the Program Files (x86) folder place entries in the PATH environment variable.

These parentheses lead the batch file to believe that the end of a statement has been reached when, in fact, this is not the case.

That is why whatever comes after the closed parenthesis ends up being "unexpected".

To work around the issue, you can try one of the following:

• Remove any entries from your PATH environment variable that include parenthesis inside of quote marks.
• Remove the actual quote marks from the PATH entry.

EG: C:\"Program Files (x86)"\QuickTime\QTSystem\ --> C:\Program Files (x86)\QuickTime\QTSystem\