maccra

How to delete Files names which are too long for Windows

Recommended Posts

Hello,

I am running Resilio Sync 2.4.4 on Windows Server 2012 Datacentre edition, where I have some encrypted folders. For one of the folders I have decided to disconnect it and now I am left with all the encrypted files on the Server which I want to delete.

I have exceyted the delete in windowsm however for some files, I am getting the error that the file name is too long and can not be delete, and that I should rename the file or move the file too a shorter path.

Unfortunately, for reasons I do not know, I am not able to rename the file or move it to a shorter path. Since Resilio Sync created these files, how do I now delete these files  from the server.

Also for review by Resilio Sync, is why does Resilio sync create files/paths which are too long for Windows to manage!

 

Thanks for any advice how to delete the files.

 

Share this post


Link to post
Share on other sites

@maccra @chuck4100 This is a common issue of Explorer, not of the application itself. In Windows, there are 2 sets of files API. One works with only paths up to 255 symbols, while another (newer) API supports up to 32K paths. Here is a resource providing a number of ways to clean up long filenames. Pick one that is easier for you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now