AR# 38335


13.4 PlanAhead - Launching PlanAhead fails with "\Common was unexpected at this time"


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\

  • Add a simplified PATH setting to the planAhead.bat file. 
    For example, you can add the following line to planAhead.bat:

              set PATH=C:\windows\system32;

This resets the PATH environment variable before the PlanAhead tool launches to include only the entry that is necessary for PlanAhead to run.

This issue will be fixed in the 14.1 release of ISE Design Suite.

AR# 38335
Date 02/06/2015
Status Archive
Type Known Issues
Tools More Less
People Also Viewed