LPM -  Long Path Manager Path e nome files troppo lunghi
tizianogadotti@hotmail.com
LPM – Long Path Manager How to delete a file or folder with too long path In windows la lunghezza massima ammessa del percorso di un file compreso il carattere del driver , i due punti e il carattere backschlash è di 260 caratteri (limite MAX_PATH DI Win32). Se per qualche ragione viene superata (succede spesso con i file concernenti per esempio le applicazioni di uno store) il file non può essere né copiato né cancellato. Tentativi di questo tipo finiscono con un messaggio di errore che può essere “Path too long” o “File cannot be copied” etc. e possono impedire la corretta scannerizzazione delle cartelle e dei file con problemi anche per alcuni programmi di backup. Nel migliore dei casi intere cartelle non possono essere rimosse anche se inutili. Per ovviare a questo problema Microsoft suggerisce di accorciare il percorso dei file riducendo il nome di una cartella a monte di quella che causa l’errore oppure da comando dos cercando la cartella con il nome dos 8.3 (8+3 caratteri) per copiare o cancellare il file.
Un ulteriore possibilità, senz’altro meno complicata, è di utilizzare un programma ad hoc. Ce ne sono alcuni, in genere gratuiti, come ad esempio Long Path Eraser (LPE). Io presento il mio che è strutturato per cercare e di eliminare i file troppo lunghi, oppure di spostarli in una nuova cartella rendendoli cosi gestibili. Occupa poco spazio e comunque si può attivare anche da una chiavetta.
IMPORTANT! Con l’aggiornamento di Windows 10 Anniversdary Update viene finalmente superato il limite di 260 caratteri massimo. E’ sufficente modificare il parametro LongPathEnable del registro da 0 in 1. Si trova qui: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem With the Anniversary Update of Windows 10, you can finally abandon the 260 character maximum path limit in Windows. You just need to make a minor edit to the Windows Registry or Group Policy.
A further possibility, certainly less complicated, is to use an ad hoc program. There are some, generally free, such as Long Path Eraser (LPE). I introduce mine that is structured to search and delete files that are too long, or to move them to a new folder making them manageable. It takes up little space and in any case it can also be activated by a stick
In windows, the maximum permissible path length of a file including the driver character, the colon and the backschlash character is 260 characters (Win32 MAX_PATH limit). If for some reason it is exceeded (it often happens with files concerning for example the applications of a store) the file can neither be copied nor deleted. Attempts of this type end with an error message that can be "Path too long" or "File can not be copied" etc. and can prevent the proper scanning of folders and files with problems even for some backup programs. In the best case, whole folders can not be removed even if they are useless.  To overcome this problem Microsoft suggests to shorten the path of the files by reducing the name of a folder upstream of the one causing the error or by dos command looking for the folder with the name dos 8.3 (8 + 3 characters) to copy or delete the file
Download gratuito v. 1.4 Free download
Guarda il video demo Watch the video