Shortcut Icon issues between platforms

T

Tim Snider

I have a shortcut that I copy in the login script to the
desktop when the user log's in. Within the shortcut it
links to an icon that is located in C:\windows folder on
XP and C:\winnt folder on 2000. I would like to use %
systemroot%\help.ico variable when I create the shortcut
and have the %systemroot% variable stick. When I type in
the path to the icon it, when i press ok, it translates
to c:\windows. when i copy this shortcut to 2000 the
icon does not display. or Vice versa. However i noticed
that if the icon fails it defaults to %systemroot%
\system32\shell32.dll How can i make the variable stick
in the shortcut? Currently as a workaround I have two
seperate shortcuts that i copy based on OS.
 
T

Torgeir Bakken (MVP)

Tim said:
I have a shortcut that I copy in the login script to the
desktop when the user log's in. Within the shortcut it
links to an icon that is located in C:\windows folder on
XP and C:\winnt folder on 2000. I would like to use %
systemroot%\help.ico variable when I create the shortcut
and have the %systemroot% variable stick. When I type in
the path to the icon it, when i press ok, it translates
to c:\windows. when i copy this shortcut to 2000 the
icon does not display. or Vice versa. However i noticed
that if the icon fails it defaults to %systemroot%
\system32\shell32.dll How can i make the variable stick
in the shortcut? Currently as a workaround I have two
seperate shortcuts that i copy based on OS.

Hi

There are more issues with copying a shortcut because of the builtin
distributed link tracking, it is better to create the shortcut on the fly with
a script. More on both this issues in this thread starting with the post by
Dave Patrick:

http://groups.google.com/groups?hl=...threadm=#[email protected]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top