martes, 20 de septiembre de 2016

Delete files in a path with more than 248 characters.


Whether if you are using the graph. interface or powershell You'll see an error (image1) if you try to delete files located in a path with more than 248 characters.

Image1


Solution

The solution that I've found is:

1. Download 7-zip
2. Open this as administrator.
3. Go to the disk of the folder or to the file that you'd like to erase.
4. Press Shift key + Click on using the right button.
5. Click on Delete.



:)

1 comentario:

RFigueres dijo...

Hola, Muy buena la solución del 7-ZIP!!:-))

Aquí tienes otra muy interesante ya que el robocopy viene instalado por defecto en los Windows actuales:

https://www.sysadmit.com/2015/08/windows-borrar-rutas-largas.html

Felicidades por el blog, hace años que te sigo.