# Deleting deep folders

**URL:** https://www.finalbuilder.com/forums/t/deleting-deep-folders/5831
**Category:** Bugs
**Created:** [June 7, 2013, 9:35am UTC](https://www.finalbuilder.com/forums/t/deleting-deep-folders/5831 "2013-06-07T09:35:51Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ageuk](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/ed8c4c/32.png) [@ageuk](https://www.finalbuilder.com/forums/u/ageuk)
#### Post date: [June 7, 2013, 9:35am UTC](https://www.finalbuilder.com/forums/t/deleting-deep-folders/5831/1 "2013-06-07T09:35:51Z")

</div>

Hi   
  
 I have been using continua for over 5 months and we love it…   
  
 We cam across a limitation today with the Delete Directory action. As part of our process we extract the super deep packages msbuild creates and re zip them at shallower depth. On cleaning the original folders we now get…   
  
  
 Failed to delete directory at path ‘D:\continua-agent-workspace\Ws\2047\output\content’. Could not delete tree, the following exceptions occurred: D:\continua-agent-workspace\Ws\2047\output\content\D\_C\continua-agent-workspace\Ws\2047\Source\GIT-UAT-BP\XXXXX.XXXXXYYYYzzzz.Web\obj\DEV\_CONSUMER\Package\PackageTmp\BrandaaaaaaaAssets\Blog\Scripts\jquery\images\eeeeee\_40x100\_textures\_03\_highlight\_soft\_100.png: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.   
  
 Thanks   
  
 Rob

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 7, 2013, 11:00am UTC](https://www.finalbuilder.com/forums/t/deleting-deep-folders/5831/2 "2013-06-07T11:00:58Z")

</div>

Hi Rob   
  
 We’ll take another look at it, but I do know we were bitten by this before… it’s windows/.net failing on file system calls. We were not able to find a way past this issue… it’s a stupid 20 year old windows limitation!

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 7, 2013, 11:02am UTC](https://www.finalbuilder.com/forums/t/deleting-deep-folders/5831/3 "2013-06-07T11:02:33Z")

</div>

More info :   
  
 [http://blogs.msdn.com/b/bclteam/archive/2007/02/13/long-paths-in-net-part-1-of-3-kim-hamilton.aspx](http://blogs.msdn.com/b/bclteam/archive/2007/02/13/long-paths-in-net-part-1-of-3-kim-hamilton.aspx)

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 7, 2013, 11:12am UTC](https://www.finalbuilder.com/forums/t/deleting-deep-folders/5831/4 "2013-06-07T11:12:06Z")

</div>

One small thing you can do is shorten D:\continua-agent-workspace - every character counts when you only have 248!

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 7, 2013, 11:13am UTC](https://www.finalbuilder.com/forums/t/deleting-deep-folders/5831/5 "2013-06-07T11:13:12Z")

</div>

moved topic to continua bug reports forum.
