I was experimenting with some rake msdeploy tasks and because of the crazy nesting created by the packages I exceeded the 255 character file path limit, making the folder(s) undeletable.
It took me a while to figure out the filepath restriction was what the problem was, so I wasted time in Recovery Console deleting files one at a time.
Finally, I just mapped a drive to a folder in the middle of the path using
subst K:\ “C:\MyVerrry\Verrry\Loooong\Pathname\etc”
and was able to execute del *.* /S/Q commands against the folders to kill it.
The tree msdeploy creates is insane and I can’t find any docs that indicate having control over that.
If you have more experience with MSDEPLOY than I do (meaning more than one day) then please let me know if you can control the output tree structure somehow without having to copy files first.
04-28-2010 12:58 AM