Your problem is less with Windows but with your roundabout way of using Perl as if it were a command shell instead of using the Perl built-in ways.
In reply to Re^3: I go crazy with windows filenames with spaces!
by Corion
in thread I go crazy with windows filenames with spaces!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |