View Full Version : Strange characters in desktop shortcut


Michael Bate
10-10-2007, 10:34 PM
I am attempting to create a desktop shortcut by setting up the shortcut
as an "Extra Resource" in Target Designer.

The shortcut includes arguments with minus signs, for example:

-run -file

When I look at the shortcut on the generated OS (the .LNK file), which
shows ASCII characters as Unicode, the minus signs have been converted
to a Unicode character: hex 1320. I'm not an expert on Unicode so I'm
not sure what the character is. If I look closely at the shortcut
properties, it appears that the minus signs are longer (some variation
of mdash?)

Also if I create a shortcut manually, the resulting .LNK file is about
twice as long (1383 vs. 681) as the .LNK file from Target Designer (also
it's in the user directory instead of "All Users" but that's probably
not important).

Does anyone know what is going on here?

Thanks in advance,
Michael Bate