All Windows 2000 SP4
I have a kix script that is working fine when I am copying .lnk (shortcuts) to user's desktops. Now I need a shortcut to a URL site. So I right click on destop create new shortcut, put in the address, assigned it an icon. It is in the \netlogon folder on the DC. Then in the kix script I wrote this. I tried saftey.lnk and safety.url. Is it a lnk file that is created or an URL? Anyway neither will work. Can anyone point out what I am doing wrong.
Code:
 :SAFETY
if ingroup ("TX-Safety-Smart-Online")
$desktop = READVALUE("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Desktop")copy "\\Server-pdc\netlogon\shortcuts\safety.lnk" $desktop
endif