We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Page Bookmarked

AR# 30655

10.1 ISE - Saving Generate Tcl script to remote location results in bad name and path


When using the Project -> Generate Tcl Script command, a user selects the Browse button and selects a directory to save the generated Tcl script to (e.g., c:\temp) and provides a file name (e.g., my_test.tcl).

When the user selects OK, the Generate Tcl Script name file appears to be properly populated with the directory and name (e.g., c:\temp\my_test.tcl). Upon selecting OK, Project Navigator does one of two things:

- creates a Tcl file in the current project directory. The name of the file is a concatenation of the directories and file names specified.

%Tcl script C:Tempmy_test.tcl created.

- issues the following error:

"ERROR: unable to open C: empmy_test.tcl to write project control script."


The directory path and file name are not being properly escaped. Since the path contains backslash characters for directory separators, the path should be placed in curly brackets when processed, but this is not happening correctly. Receiving a concatenated file name or an error depends on whether the first letter of a directory or the file name combine with the back slash to create a control character (e.g., \t => TAB).

To work around this issue, perform one of the following before clicking OK:

- place curly brackets around the directory and file name.

- change the back slashes in the path to forward slashes.

This problem has been fixed in the latest 10.1 Service Pack available at:

The first service pack containing the fix is 10.1 Service Pack 2.
AR# 30655
Date 07/26/2010
Status Archive
Type General Article