Quote:
Script works like a charm.. only thing is it doesnt list shortcuts that are in "all users"


Yes it does! Check that the environment variables are OK for your locale.

Here it is modified to display the links it finds:
 Code:
Break ON
$=SetOption("Explicit","ON")
 
Dim $sTargets
 
$sTargets=udfGetTargets(%ALLUSERSPROFILE%+"\Desktop")+@CRLF+udfGetTargets(%USERPROFILE%+"\Desktop")
 
If Not InStr($sTargets,"xlicons")
        "No XLICONS present - will install..."+@CRLF
EndIf
 
Function udfGetTargets($sPath)
	Dim $asDirEntries
	Dim $sLink

	$sLink=Dir($sPath+"\*.lnk")
	While $sLink
		"Getting path from: "+$sPath+"\"+$sLink+@CRLF
		$udfGetTargets=$udfGetTargets+@CRLF+GetShortCutProperties($sPath+"\"+$sLink,'Path')
		$sLink=Dir()
	Loop
	$udfGetTargets=SubStr($udfGetTargets,3)
EndFunction


When I run this on my machine I get:
 Quote:
Getting path from: C:\Documents and Settings\All Users\Desktop\Cisco Network Assistant.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\Cygwin.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\DYMO Label.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\Extend360.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\gVim 7.0.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\gVim Easy 7.0.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\gVim Read only 7.0.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\Harsco AD.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\IBM iSeries Access for Windows.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\iSeries Navigator.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\LockoutStatus.exe.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\Oracle Live.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\PuTTY.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\SnagIt 8.lnk
Getting path from: C:\Documents and Settings\All Users\Desktop\Vodafone Mobile Connect.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\Catherine.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\CBP.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\COM 7.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\Dameware.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\Grab & Burn.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\hsc-oracle-apps-asep.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\HyperTerm.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\Mercury.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\MMC.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\MSVFL1.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\Pitbull.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\PSFTP.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\PUTTY.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\RunAs Explorer.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\Shortcut to Local Area Connection.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\Shortcut to Offline Files.LNK
Getting path from: C:\Documents and Settings\rhowarth\Desktop\WHSE01.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\Windows Media Player.lnk
Getting path from: C:\Documents and Settings\rhowarth\Desktop\ZenMap.lnk
No XLICONS present - will install...


You can see the "All Users" links at the top of the list.