First of all, howdy and welcome to the Monastery, meistersinger! (Nice username, BTW.)

I've just looked into this for a bit on a windows 7 box, using Strawberry 5.20.0, and I've found that links (to directories) appear to only be recognized and handled properly when two conditions are met:

  1. The source and target of the link share the same name.
  2. The target of the link is not a "localized" directory.

Following a link from e.g. C:\Users\AppleFritter\Desktop\Games to C:\Games works; the former exists (-e), is seen as a directory (-d), and can be opendir'ed. Changing the link's name to e.g. C:\Users\AppleFritter\Desktop\MoreGames causes it to cease working.

OTOH, following a link from e.g. C:\Users\AppleFritter\Desktop\Users to C:\Users does not work. (I should note that this is a localized version of windows, albeit configured to use English as its system language; maybe an unlocalized English version wouldn't have this problem.)

All this remains true when running as an Administrator, BTW, so I don't think it's a permissions problem.

I don't know whether this indicates a bug in perl, windows, or both. My suggestion would be to just work around this; the easiest solution might be to make sure you don't need to follow any links in the first place. Perhaps shuffle the data around on your external drive as necessary, if that's an option.


In reply to Re: links in pathnames under Windows 8 by AppleFritter
in thread links in pathnames under Windows 8 by meistersinger

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.