#122791 - 2004-07-13 02:26 PM
Associating icons with desktop shortcuts
|
rhipkin
Lurker
Registered: 2004-07-13
Posts: 2
Loc: South Africa
|
Good day,
You will have to excuse me I am completely new to scripting and I have been assigned a task to place an Intranet shortcut on all users desktops, this I have managed to do due to the fact the previous IT chap had already written that part of the script. The thing is I now need to associate the specifically create icon to that shortcut(as it is the default windows icon), this is the script written to place the shortcut on the desktop:
Select Case @INWIN = 1 Copy "\\" + $Logonsvr + "\NETLOGON\RDSInt~1.URL" %SystemDrive% + "\DOCUME~1\ALLUSE~1\DESKTOP" Case @INWIN = 2 Copy "\\" + $Logonsvr + "\NETLOGON\RDSInt~1.URL" %WinBootDir% + "\DESKTOP" EndSelect
Select Case @INWIN = 1 Copy "\\" + $Logonsvr + "\NETLOGON\RDSInt~1.URL" %SystemDrive% + "\DOCUME~1\ALLUSE~1\Startm~1\Programs\startup" Case @INWIN = 2 Copy "\\" + $Logonsvr + "\NETLOGON\RDSInt~1.URL" %WinBootDir% + "\Windows\Alluse~1\Startm~1\Programs\Startup"
EndSelect
How can I go about associating an icon with the shortcuts?
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Henriques)
and 2516 anonymous users online.
|
|
|