When programming a device using command line and Batch mode, if the iMPACT GUI project file *.ipf is used, the following error is seen:
This a known issue.
To work around this problem you can either use the iMPACT GUI to program the device, or you can use the following commands instead of the .ipf file:
setCable -port auto
assignFile -p 2 -file "C:/projects/my_files/design.bit"
Program -p 2
Depending on the chain set-up, the -p setting might need to change as this indicates the position of the device in the chain that is to be programmed.
The bit file location will also need to be altered.