in reply to how to handle the warnings in a find statement

First off, C:/Users/Fred/Pictures/2016-12/z is not under C:/Users/Fred/Documents/My Pictures , right?

Second notice that your "dos" dir command did not list C:/Users/Fred/Templates, yet the errors from find suggest find was able to see it. I suspect this is a function of a class of "magic dirs" that microsoft has invented, these are not really dirs, they are pointers,(think of ln -s ... under unix). and like a softlink in unix the object of these pointers may not even exist.

I would think that perl/find would be able to understand this by now, except if you are not "current". Please run these

perl -v perl -MFile::Find -wE "say $File::Find::VERSION;"

Replies are listed 'Best First'.
Re^2: how to handle the warnings in a find statement
by Aldebaran (Curate) on Dec 19, 2016 at 11:21 UTC

    That's a negative, that is you surmise correctly regarding where Pictures is and isn't. I have to wonder out loud whether the reason that these photos are downloaded here is that the importing software lacked permission to save to My Pictures.

    I noticed Templates showing on the dos listing but not in my explorer window. Windows explorer is awful on windows 10, but our Washington friends make up for it with the internet browser, Edge, which is pretty good. (Opinions are mine alone.) Here's the output you wanted:

    C:\Users\Fred>perl -v This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x +64-multi-thread Copyright 1987-2016, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. C:\Users\Fred>perl -MFile::Find -wE "say $File::Find::VERSION;" 1.34 C:\Users\Fred>

      See my reply above about junction points, and realize C:/Users/Fred/Documents/My Pictures is a junction point to C:/Users/Fred/Pictures