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!

AR# 25375

9.1i Tcl - "Xfile add" command with the -copy switch causes Project Navigator to exit abnormally on 64-bit Windows XP


Keywords: copy, add, source, script, crash, closes, remote

Using a WinXP64 system, when I run the following command (or a script file containing the command) in the Tcl shell, Project Navigator crashes.

xfile add "<path to remote location file>" -copy


This problem has been seen if path to the remote directory is specified with a back slash instead of a forward slash and the back slash and the letter following create an escape sequence with white space.
xfile add "c:\temp\my_module.v" -copy

In the above arguments, the module is not found because the back slash combined with the 't' is interpreted as a tab character ("c:<tab>tempmy_module.v" ).
Changing the backslashes to forward slashes fixes the problem.

Although the syntax is not correct, Project Navigator should be able to handle the syntax more gracefully and issue a proper error message.

This problem has been fixed in the latest 9.2i Service Pack available at:
The first service pack containing the fix is 9.2i Service Pack 1.

AR# 25375
Date 04/17/2009
Status Archive
Type General Article