Use the WScript.Shell object to get the special folder and the File Scripting Object to enumerate the files:
'enumerate Desktop
Set objShell = WScript.CreateObject("WScript.Shell"
'change Desktop to AllUsersDesktop to get Users desktop
strDesktop = objShell.SpecialFolders("Desktop"
Set objFSO = CreateObject("Scripting.FileSystemObject"

Set objFolder = objFSO.GetFolder(strDesktop)
For Each objFile In objFolder.Files
Wscript.Echo objFile.Path
Next
Regards,
Stein Borge
Author of: Managing Enterprise Systems with the Windows Script Host
Over 800 pages of practical solutions oriented material, providing
detailed coverage of WSH 5.6, WMI,
ADSI, ADO, CDO, FSO and much more.
sb@nyetspam.enterprisewsh.com <- remove nyetspam when E-mailing