Works for me (see below).
Cases where it does not work are where there are unicode chars in the file names, which is when Win32::LongPath is very useful.
perl -We "print -e 'C:\Users'"
This is perl 5, version 30, subversion 0 (v5.30.0) built for MSWin32-x
Copyright 1987-2019, 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
Complete documentation for Perl, including FAQ lists, should be found
this system using "man perl" or "perldoc perl". If you have access to
Internet, point your browser at http://www.perl.org/, the Perl Home Pa