Delete long files / Filenames ( 260) Characters

Written by Allen White on. Posted in General

Problem

You have identified a file name or folder that is over 260 characters, any windows OS /file system will not be able to read this, it will display it BUT you cannot modify it. You could truncate the long filename with a util or do the following.

 

 

Resolution

The fix is quite simple.
Drop to a command prompt and go to the directory that the file is in.
say the file is called” this is a really long file and i cannot delete it as it is over 260 characters etc etc”

Then simply enter Del “this is a ” *.*

As the file is in speech marks and your using the Wildcard (*) it will delete the file.

If you find a directory the is over 260 characters then use the command..

RMDIR “this is a really long folder”*.*

For sub folders that are full use RMDIR /s “this is a really long folder”*.*

Got A Question?..Ask The Community

 
 

Related Problems

Delete Local Profiles In Windows XP With VBS
If you have a lot of profiles on your desktops and they are taking up space then follow this guide on how to delete your local profiles on your pc.How ...
READ SOLUTION
Create or Remove A Static Route In A Windows OS
If you need to route traffic in windows this can be done with a command line toll. Here is how to create a static route in windows.
READ SOLUTION
Delete Local Profiles In Windows XP With VBS
Create or Remove A Static Route In A

Tags: , ,

Allen White

Allen is a Technical Consultant for an IT company in the North East of England and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5 and HP ASE, AIS - Network Infrastructure. Backup Academy Certified. I run this site in my spare time so if I help you then PLEASE take the time to share using the share tools on the site.

Comments (1)

  • Kurt

    |

    Thank you so much.

    Cheers!

    KAW

    Reply

What Do You Think?

Search Solutions

Categories

(c) Techieshelp.com. Please be aware, all information is provided freely, any information used is done so at your risk and Techieshelp will not be held responsible for any issue that may occur.