file vs folder in c:\

Hi,

Is there a good way to distinguish between a file vs a folder in c:\ by using
fileobject? for example c:\wutemp c:\ntldr. Is there also a good way to tell that
the fileobject is c:\ ?

Thanks,
Wencheng