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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.