First of all, you cannot use "%jlinklocation %", it should be "%jlinklocation%", otherwise reference to the set symbol won' work.
As to the blank space in "AT91SAM7S64 " and related problem is not manifested in your code sample anyhow.
echo Device AT91SAM7S64
simply outputs string in the console, so the blank space won't make any difference. If you explain the role of the blank space at the end or desired effect, I'll try to answer.
—SA