Skip to content

How to Delete Files which exceed 255 Characters Without 3rd Party Tools

July 26, 2015

Error: The source filename are larger than is supported by the file system. Cannot delete files.

How to Delete Files which exceed 255 Characters Without 3rd Party Tools in case you can’t access the site

create an empty folder on C:\ called test then used the mirror switch to copy the test folder to the HomeDrives folder.

robocopy /MIR c:\test d:\filesWontDie  = path to directory holding the problem files

After running the command all user folders under d:\filesWontDie should be deleted.

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: