9
3
After running robocopy.exe to backup a C:\Users\ folder without using the /xj
switch, I ended up with a recursive directory which was too long. For example, if you run dir /b /s
you will receive the following error:
The directory name C:\Users\ ... \AppData\Local\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data\Application Data is too long.
I tried deleting it with rmdir "Application Data" /s
but I received the error "The file name is too long"
I've looked at other solutions, but I thought I might be able to use the tool that caused the issue to solve it.
This buggy infinite recursive folder was driving me crazy ! Thank you. – Zofren – 2014-11-07T20:21:06.717
3+1 Unbelievable that it requires something this arcane to do something as simple as delete a folder... – nextgentech – 2013-03-23T02:58:10.803