in reply to Re^2: How to pass a folder name to Windows external commands?
in thread How to pass a folder name to Windows external commands?
I'll try to generate a better example.
I'm using 'dir' in an attempt to glob a filespec and get Unicode filenames, which File::Glob::Windows doesn't seem to do. Will Path::Class do that? I'm using robocopy /l to get the total size of a folder, including subfolders. It's supposed to be a fast way to do that.
I tried using run3, but I don't understand its rules and haven't got it working yet. Is 'hex' a command in your example? Is there a reason that you used short pathnames? Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: How to pass a folder name to Windows external commands?
by haukex (Archbishop) on Mar 08, 2022 at 18:37 UTC |
In Section
Seekers of Perl Wisdom