<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://devlicio.us/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Mike Nichols - Son Of Nun Technology : Cmd</title><link>http://devlicio.us/blogs/mike_nichols/archive/tags/Cmd/default.aspx</link><description>Tags: Cmd</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>“On The First 269 Characters Of FilePath Madness My Computer Gave To Me…”</title><link>http://devlicio.us/blogs/mike_nichols/archive/2010/04/28/on-the-first-269-characters-of-filepath-madness-my-computer-gave-to-me.aspx</link><pubDate>Wed, 28 Apr 2010 07:58:02 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:57826</guid><dc:creator>Michael Nichols</dc:creator><slash:comments>2</slash:comments><comments>http://devlicio.us/blogs/mike_nichols/archive/2010/04/28/on-the-first-269-characters-of-filepath-madness-my-computer-gave-to-me.aspx#comments</comments><description>&lt;p&gt;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.&lt;/p&gt;  &lt;p&gt;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. &lt;/p&gt;  &lt;p&gt;Finally, I just mapped a drive to a folder in the middle of the path using &lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:c68b0848-4cc2-44c6-9111-ccca63590f78" class="wlWriterEditableSmartContent"&gt;&lt;pre style="background-color:#FFFFFF;overflow:auto;"&gt;&lt;span style="color:#0000FF;"&gt;subst&lt;/span&gt;&lt;span style="color:#000000;"&gt; K:&lt;/span&gt;&lt;span style="color:#000000;"&gt;\&lt;/span&gt;&lt;span style="color:#000000;"&gt; “C:&lt;/span&gt;&lt;span style="color:#000000;"&gt;\&lt;/span&gt;&lt;span style="color:#000000;"&gt;MyVerrry&lt;/span&gt;&lt;span style="color:#000000;"&gt;\&lt;/span&gt;&lt;span style="color:#000000;"&gt;Verrry&lt;/span&gt;&lt;span style="color:#000000;"&gt;\&lt;/span&gt;&lt;span style="color:#000000;"&gt;Loooong&lt;/span&gt;&lt;span style="color:#000000;"&gt;\&lt;/span&gt;&lt;span style="color:#000000;"&gt;Pathname&lt;/span&gt;&lt;span style="color:#000000;"&gt;\&lt;/span&gt;&lt;span style="color:#000000;"&gt;etc”&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and was able to execute &lt;strong&gt;del *.* /S/Q &lt;/strong&gt;commands against the folders to kill it. &lt;/p&gt;

&lt;p&gt;The tree msdeploy creates is insane and I can’t find any docs that indicate having control over that. &lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=57826" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/mike_nichols/archive/tags/Cmd/default.aspx">Cmd</category><category domain="http://devlicio.us/blogs/mike_nichols/archive/tags/MsDeploy/default.aspx">MsDeploy</category></item></channel></rss>