Premiär! Fyndchans i SweClockers Månadens Drop

Kan ej ta bort fil pga för långt filnamn win 10

Permalänk
Medlem

Kan ej ta bort fil pga för långt filnamn win 10

http://imgur.com/a/kLOjj

Går ej byta namn, flytta eller ta bort. Hur gör man ?

Visa signatur

MSI MAG B550M Mortar, Ryzen 7 3800X, Cooler Master MasterLiquid ML240L, Corsair LPX 32GB (4x8GB) 3200MHz cl16, Sapphire rx580 4gb, Samsung 990 Pro 1TB + Seagate FireCuda 520 SSD 2TB, Corsair RM750x v2, Fractal Design Define C, LG UltraGear 27GP850

Permalänk
Medlem

Hittade denna lösningen, vilken är liknande den som jag tänkte föreslå:

Skrivet av superuser.com:

our question asks how to delete a file when the filename itself is too long. If the path is too long and not just the filename itself, you can easily just rename the folders to make the path shorter.

But to delete a file whose name is more than 255 characters:

Open a command prompt by running "CMD.EXE"
Navigate to the folder holding the file
Use the command DIR /X which will display the short names of files.
Delete using the short name.

i.e. if the file is named "verylongfilename.fil", the shortname will display as something like "verylo~1.fil" and you can delete using that name.

Please note that although Windows itself can handle paths far longer than 255 characters, most of the GUI -- like Windows Explorer -- is bound by the shorter limit.

Permalänk
Medlem

tack! funkade att bara döpa om mappen. Stört att det ska behövas dock!

Visa signatur

MSI MAG B550M Mortar, Ryzen 7 3800X, Cooler Master MasterLiquid ML240L, Corsair LPX 32GB (4x8GB) 3200MHz cl16, Sapphire rx580 4gb, Samsung 990 Pro 1TB + Seagate FireCuda 520 SSD 2TB, Corsair RM750x v2, Fractal Design Define C, LG UltraGear 27GP850