Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Working with files, who's paths are too long

$
0
0

Is there any way of getting around the dreaded error

Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than
260 characters, and the directory name must be less than 248 characters.

I still need to work with these objects, and renaming to shorten the names is not an option, so is there anyway of actually working with objects whos path is too long for Get-ChildItem to deal with?


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>