3 ms·
Your problem here is with win32 not powershell I suspect. Your script would probably have worked with powershell on Linux, but windows you need to use UNC paths
by Macha 4y ago
Your problem here is with win32 not powershell I suspect. Your script would probably have worked with powershell on Linux, but windows you need to use UNC paths to get a 2^16 - ~20 character path limit rather than the 256 character path limit of regular paths.
Or there's some registry hacks to remove the limit from regular paths.
- ndsipa_pomu 4y agoYou're probably right. It was a few years ago and after trying a couple of alternatives, just went with what I know.