GetFiles and shortcuts

daverage

Active member
Joined
Aug 29, 2006
Messages
26
Programming Experience
Beginner
Hi all.
I am using getfiles to loop through all the files on my desktop and sort them.
The trouble is it only picks up some of the shortcut files (looking for the lnk extension)
Is there any way of forcing it to pick up all of them.

Also is there a way of getting the file type (not just the extension)
 
They may be internet shortcuts (.url) or program info shortcuts (.pif) or not shortcuts at all, some of the desktop items are special system mappings like "My Documents", "My Computer" and "Network Places".
 
Default browser link is also one of the special system items. Usually it is IE, but if you have set FF as default browser this icon should display instead.
 
Back
Top