isFile Property
Checks to see if the selected shell item is a Microsoft Windows file and not a folder (directory) or a .Lnk file (shortcut).
Syntax
[ bIsFile = ] System.Shell.Item.isFile
Possible Values
bIsFile Returns true if the item specified is a file; returns false if the item specified is a folder or a .Lnk file. The property is read-only. The property has no default value.
Remarks
The selected shell item should include the file extension for a unique file name match.
Applies To
System.Shell.Item