File path too long to delete, move or copy

Posted: 11th June 2010 in NTFS
Tags: ,

When using Visual Studio namespaces as directory names in conjunction with Sub Version I came across the following error when i was trying to copy some files – this also happens when trying to delete or move.

image

This happens when the NTFS maximum path length of 255 characters is exceeded.  To resolve this problem you can map a network drive to the path you want to copy/move to, or delete by running the following dos command .

net use x: \\NameOfPc\share\FolderToCopyToOrDelete

NB. If you have admin access to the machine you can use the drive$ admin share.

Advertisements
Comments
  1. bob.marty says:

    I had the similiar problem and finally I found solution:
    http://www.tooLongPath.com

  2. GarryBrown says:

    Thanks for the information. Also try “Long Path Tool”. It helped me with Error 1320 on Win 7. πŸ™‚

  3. Patrick8 says:

    Hi

    I suggest to try “Long Path Tool” program .

    before I have problem cannot copy file because file name too long. and after I found long

    path tool and now my problem solved

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