http://www.perlmonks.org?node_id=1223819

fatkatie has asked for the wisdom of the Perl Monks concerning the following question:

low hours pilot here

I want to recognize a uSWin directory type '<JUNCTION>'

If I do a command window 'dir' this entry is not shown.

If I do a command window 'dir /a:d' the entry is shown as: 07/14/2009  12:08 AM    <JUNCTION>     Documents and Settings [C:\Users]

If I do a perl opendir and iterate, the entry, array file name, is shown as:  Documents and Settings

Using file tests -d and -l has not helped me recognize the junction. Is there a way to do so?

env:
This is perl 5, version 18, subversion 4 (v5.18.4) built for MSWin32-x64-multi-thread
uSWin7pro64

Thank you.