Welcome › Forums › General PowerShell Q&A › Delete folder with file that has to long path name
This topic contains 1 reply, has 2 voices, and was last updated by
At the moment I need to delete a folder that is almost 60 GB, but there are files with to long path name
I justed the follow oneliner: remove-item 'D:\ibalg\01 ib concepts' -recurse
and then I get the message that there are files with to long file path names.
Any idea how to get it done so that I can delete the folder
Create an empty folder D:\temp
robocopy D:\temp D:\ibalg\01 ib concepts /MIR
The topic ‘Delete folder with file that has to long path name’ is closed to new replies.