Tag Info

Hot answers tagged

3

This is a well-known limitation in Powershell, unfortunatelly. This question has already been answered in StackExchange, the acepted answer was to use cmd and dir instead, to gather the folders list. This answer also provided the following reference link : http://asysadmin.tumblr.com/post/17654309496/powershell-path-length-limitation wich basically ...


1

Did you try using a wildcard? Remove-Item "C:\Jenkins\workspace\Long Path with *" That will delete all file in that folder that start with "Long Path with ".



Only top voted, non community-wiki answers of a minimum length are eligible