sbergwall / RobocopyPS

RobocopyPS
MIT License
51 stars 9 forks source link

Fix for changes to command line argument passing in PS 7.3. #20

Closed fjollberg closed 1 year ago

fjollberg commented 1 year ago

Powershell 7.3 introduces changes that breaks argument passing to Robocopy.exe. This pull request sets the PSNativeCommandArgumentPassing variable to legacy parsing.

Previous versions of Powershell should simply ignore the setting, so this should be a harmless change.