The compression cannot be performed because the path to the file or directory 'Application Data' is too long
In Windows 7, whenever I tried to compress the USER directory into a .zip file I experienced this error and cannot continue:
The compression cannot be performed because the path to the file or
directory 'Application Data' is too long.
Is there any way to compress the USER directory?
windows-7 zip compression
add a comment |
In Windows 7, whenever I tried to compress the USER directory into a .zip file I experienced this error and cannot continue:
The compression cannot be performed because the path to the file or
directory 'Application Data' is too long.
Is there any way to compress the USER directory?
windows-7 zip compression
add a comment |
In Windows 7, whenever I tried to compress the USER directory into a .zip file I experienced this error and cannot continue:
The compression cannot be performed because the path to the file or
directory 'Application Data' is too long.
Is there any way to compress the USER directory?
windows-7 zip compression
In Windows 7, whenever I tried to compress the USER directory into a .zip file I experienced this error and cannot continue:
The compression cannot be performed because the path to the file or
directory 'Application Data' is too long.
Is there any way to compress the USER directory?
windows-7 zip compression
windows-7 zip compression
edited Jul 23 '11 at 11:48
3498DB
15.7k114762
15.7k114762
asked Jul 18 '11 at 14:55
ITFanITFan
466824
466824
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
The problem is that "C:UsersAdministratorAppDataLocalApplication Data" is a NTFS junction point that points to "C:UsersAdministratorAppDataLocal". This causes an infinite loop in programs that do not specifically check for junction points.
Wikipedia actually mentions this very issue: http://en.wikipedia.org/wiki/NTFS_junction_point#General .
You should look for an archiver that understands junction points and has the option of not following them.
As a last resort, you can try temporarily deleting the junction point. But be careful, if you try to delete the folder as usual, you will end up deleting what it points to. And you may temporarily break stuff that relies on the junction point. The delection can be performed with (according to http://support.microsoft.com/kb/205524 ):
cd "C:UsersAdministratorAppDataLocal"
linkd "Application Data" /d
However, be aware that the junction point will then not be archived and will not be recreated when you extract the resulting archive.
add a comment |
There is a 1024-character maximum directory path length limit for ZIP files, which are clearly exceeding, so you are going to need to find a different method.
Depending on what you are trying to accomplish, I recommend just using the Windows backup program, which will also do compression into a bkf file, which compresses about a 2:1 ratio.
What specifically are you trying to accomplish, and maybe we can tell you a better way.
P.S. Often the paths to things like files in your browser cache are extremely long. You could try deleting your caches for IE and Firefox, and trying again, as this may be where you are bombing out.
– KCotreau
Jul 18 '11 at 15:06
I try 7-zip and it shows error : 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:51
2
@ITFan My guess is that it is just reporting the failures for long paths many times, but it is hard to say without really seeing it. Again, what are you trying to accomplish and why? I may be able to solve that question.
– KCotreau
Jul 18 '11 at 23:11
I just want to compress my user directory for backing up some preferences of some programs then I can restore it after installing Windows.
– ITFan
Jul 19 '11 at 18:38
add a comment |
I believe the limitation is of the compression tool or format and not of the operating system, so you should try different compression tools and formats.
The free 7-Zip archiver supports a lot of formats, one of which will hopefully work. http://www.7-zip.org/
No luck with 7-Zip either. Errors: 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:57
add a comment |
protected by Pimp Juice IT Jan 12 at 16:21
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem is that "C:UsersAdministratorAppDataLocalApplication Data" is a NTFS junction point that points to "C:UsersAdministratorAppDataLocal". This causes an infinite loop in programs that do not specifically check for junction points.
Wikipedia actually mentions this very issue: http://en.wikipedia.org/wiki/NTFS_junction_point#General .
You should look for an archiver that understands junction points and has the option of not following them.
As a last resort, you can try temporarily deleting the junction point. But be careful, if you try to delete the folder as usual, you will end up deleting what it points to. And you may temporarily break stuff that relies on the junction point. The delection can be performed with (according to http://support.microsoft.com/kb/205524 ):
cd "C:UsersAdministratorAppDataLocal"
linkd "Application Data" /d
However, be aware that the junction point will then not be archived and will not be recreated when you extract the resulting archive.
add a comment |
The problem is that "C:UsersAdministratorAppDataLocalApplication Data" is a NTFS junction point that points to "C:UsersAdministratorAppDataLocal". This causes an infinite loop in programs that do not specifically check for junction points.
Wikipedia actually mentions this very issue: http://en.wikipedia.org/wiki/NTFS_junction_point#General .
You should look for an archiver that understands junction points and has the option of not following them.
As a last resort, you can try temporarily deleting the junction point. But be careful, if you try to delete the folder as usual, you will end up deleting what it points to. And you may temporarily break stuff that relies on the junction point. The delection can be performed with (according to http://support.microsoft.com/kb/205524 ):
cd "C:UsersAdministratorAppDataLocal"
linkd "Application Data" /d
However, be aware that the junction point will then not be archived and will not be recreated when you extract the resulting archive.
add a comment |
The problem is that "C:UsersAdministratorAppDataLocalApplication Data" is a NTFS junction point that points to "C:UsersAdministratorAppDataLocal". This causes an infinite loop in programs that do not specifically check for junction points.
Wikipedia actually mentions this very issue: http://en.wikipedia.org/wiki/NTFS_junction_point#General .
You should look for an archiver that understands junction points and has the option of not following them.
As a last resort, you can try temporarily deleting the junction point. But be careful, if you try to delete the folder as usual, you will end up deleting what it points to. And you may temporarily break stuff that relies on the junction point. The delection can be performed with (according to http://support.microsoft.com/kb/205524 ):
cd "C:UsersAdministratorAppDataLocal"
linkd "Application Data" /d
However, be aware that the junction point will then not be archived and will not be recreated when you extract the resulting archive.
The problem is that "C:UsersAdministratorAppDataLocalApplication Data" is a NTFS junction point that points to "C:UsersAdministratorAppDataLocal". This causes an infinite loop in programs that do not specifically check for junction points.
Wikipedia actually mentions this very issue: http://en.wikipedia.org/wiki/NTFS_junction_point#General .
You should look for an archiver that understands junction points and has the option of not following them.
As a last resort, you can try temporarily deleting the junction point. But be careful, if you try to delete the folder as usual, you will end up deleting what it points to. And you may temporarily break stuff that relies on the junction point. The delection can be performed with (according to http://support.microsoft.com/kb/205524 ):
cd "C:UsersAdministratorAppDataLocal"
linkd "Application Data" /d
However, be aware that the junction point will then not be archived and will not be recreated when you extract the resulting archive.
answered Jul 19 '11 at 1:01
Ambroz BizjakAmbroz Bizjak
4,12511620
4,12511620
add a comment |
add a comment |
There is a 1024-character maximum directory path length limit for ZIP files, which are clearly exceeding, so you are going to need to find a different method.
Depending on what you are trying to accomplish, I recommend just using the Windows backup program, which will also do compression into a bkf file, which compresses about a 2:1 ratio.
What specifically are you trying to accomplish, and maybe we can tell you a better way.
P.S. Often the paths to things like files in your browser cache are extremely long. You could try deleting your caches for IE and Firefox, and trying again, as this may be where you are bombing out.
– KCotreau
Jul 18 '11 at 15:06
I try 7-zip and it shows error : 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:51
2
@ITFan My guess is that it is just reporting the failures for long paths many times, but it is hard to say without really seeing it. Again, what are you trying to accomplish and why? I may be able to solve that question.
– KCotreau
Jul 18 '11 at 23:11
I just want to compress my user directory for backing up some preferences of some programs then I can restore it after installing Windows.
– ITFan
Jul 19 '11 at 18:38
add a comment |
There is a 1024-character maximum directory path length limit for ZIP files, which are clearly exceeding, so you are going to need to find a different method.
Depending on what you are trying to accomplish, I recommend just using the Windows backup program, which will also do compression into a bkf file, which compresses about a 2:1 ratio.
What specifically are you trying to accomplish, and maybe we can tell you a better way.
P.S. Often the paths to things like files in your browser cache are extremely long. You could try deleting your caches for IE and Firefox, and trying again, as this may be where you are bombing out.
– KCotreau
Jul 18 '11 at 15:06
I try 7-zip and it shows error : 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:51
2
@ITFan My guess is that it is just reporting the failures for long paths many times, but it is hard to say without really seeing it. Again, what are you trying to accomplish and why? I may be able to solve that question.
– KCotreau
Jul 18 '11 at 23:11
I just want to compress my user directory for backing up some preferences of some programs then I can restore it after installing Windows.
– ITFan
Jul 19 '11 at 18:38
add a comment |
There is a 1024-character maximum directory path length limit for ZIP files, which are clearly exceeding, so you are going to need to find a different method.
Depending on what you are trying to accomplish, I recommend just using the Windows backup program, which will also do compression into a bkf file, which compresses about a 2:1 ratio.
What specifically are you trying to accomplish, and maybe we can tell you a better way.
There is a 1024-character maximum directory path length limit for ZIP files, which are clearly exceeding, so you are going to need to find a different method.
Depending on what you are trying to accomplish, I recommend just using the Windows backup program, which will also do compression into a bkf file, which compresses about a 2:1 ratio.
What specifically are you trying to accomplish, and maybe we can tell you a better way.
answered Jul 18 '11 at 15:04
KCotreauKCotreau
24.6k54064
24.6k54064
P.S. Often the paths to things like files in your browser cache are extremely long. You could try deleting your caches for IE and Firefox, and trying again, as this may be where you are bombing out.
– KCotreau
Jul 18 '11 at 15:06
I try 7-zip and it shows error : 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:51
2
@ITFan My guess is that it is just reporting the failures for long paths many times, but it is hard to say without really seeing it. Again, what are you trying to accomplish and why? I may be able to solve that question.
– KCotreau
Jul 18 '11 at 23:11
I just want to compress my user directory for backing up some preferences of some programs then I can restore it after installing Windows.
– ITFan
Jul 19 '11 at 18:38
add a comment |
P.S. Often the paths to things like files in your browser cache are extremely long. You could try deleting your caches for IE and Firefox, and trying again, as this may be where you are bombing out.
– KCotreau
Jul 18 '11 at 15:06
I try 7-zip and it shows error : 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:51
2
@ITFan My guess is that it is just reporting the failures for long paths many times, but it is hard to say without really seeing it. Again, what are you trying to accomplish and why? I may be able to solve that question.
– KCotreau
Jul 18 '11 at 23:11
I just want to compress my user directory for backing up some preferences of some programs then I can restore it after installing Windows.
– ITFan
Jul 19 '11 at 18:38
P.S. Often the paths to things like files in your browser cache are extremely long. You could try deleting your caches for IE and Firefox, and trying again, as this may be where you are bombing out.
– KCotreau
Jul 18 '11 at 15:06
P.S. Often the paths to things like files in your browser cache are extremely long. You could try deleting your caches for IE and Firefox, and trying again, as this may be where you are bombing out.
– KCotreau
Jul 18 '11 at 15:06
I try 7-zip and it shows error : 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:51
I try 7-zip and it shows error : 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:51
2
2
@ITFan My guess is that it is just reporting the failures for long paths many times, but it is hard to say without really seeing it. Again, what are you trying to accomplish and why? I may be able to solve that question.
– KCotreau
Jul 18 '11 at 23:11
@ITFan My guess is that it is just reporting the failures for long paths many times, but it is hard to say without really seeing it. Again, what are you trying to accomplish and why? I may be able to solve that question.
– KCotreau
Jul 18 '11 at 23:11
I just want to compress my user directory for backing up some preferences of some programs then I can restore it after installing Windows.
– ITFan
Jul 19 '11 at 18:38
I just want to compress my user directory for backing up some preferences of some programs then I can restore it after installing Windows.
– ITFan
Jul 19 '11 at 18:38
add a comment |
I believe the limitation is of the compression tool or format and not of the operating system, so you should try different compression tools and formats.
The free 7-Zip archiver supports a lot of formats, one of which will hopefully work. http://www.7-zip.org/
No luck with 7-Zip either. Errors: 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:57
add a comment |
I believe the limitation is of the compression tool or format and not of the operating system, so you should try different compression tools and formats.
The free 7-Zip archiver supports a lot of formats, one of which will hopefully work. http://www.7-zip.org/
No luck with 7-Zip either. Errors: 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:57
add a comment |
I believe the limitation is of the compression tool or format and not of the operating system, so you should try different compression tools and formats.
The free 7-Zip archiver supports a lot of formats, one of which will hopefully work. http://www.7-zip.org/
I believe the limitation is of the compression tool or format and not of the operating system, so you should try different compression tools and formats.
The free 7-Zip archiver supports a lot of formats, one of which will hopefully work. http://www.7-zip.org/
answered Jul 18 '11 at 15:01
Ambroz BizjakAmbroz Bizjak
4,12511620
4,12511620
No luck with 7-Zip either. Errors: 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:57
add a comment |
No luck with 7-Zip either. Errors: 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:57
No luck with 7-Zip either. Errors: 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:57
No luck with 7-Zip either. Errors: 0 WARNING: The name of the file cannot be resolved by the system. 1 : C:UsersAdministratorAppDataLocalApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication DataApplication Data It seems there is a infinite recursion
– ITFan
Jul 18 '11 at 18:57
add a comment |
protected by Pimp Juice IT Jan 12 at 16:21
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?