Brian Button - One Agile Coder

Blogging on all things .Net, C#, and Agile

My Links

Blog Stats

News

Archives

Post Categories

Agile Solutions Group

Blogs I read

Enterprise Library V1 Team

Another powershell quickie - removing all bin and obj directories beneath VS.Net projects

gci -recurse -include bin,obj . | ri -recurse

I was playing around with how to get this to work, and I couldn't seem to figure out why these commands didn't find the same locations to delete:

  • gci -recurse -include bin,obj .
  • ri -recurse -force -include bin,obj -whatif .

I finally got so baffled that I RTFMed remove-item, and there was my answer. In the fine print, nestled away in an example that did what I was looking for, and in the documentation for the recurse parameter was my answer...

-recurse <SwitchParameter>
Deletes the items in the specified locations and in all child items of the locations.

The Recurse parameter in this cmdlet does not work properly.

Ah ha! That's when I went to the format that I finally settled on, and everything worked.

Another blog posting mostly written to help me remember how I solved this problem the next time I encounter it!

-- bab

posted on Saturday, June 23, 2007 10:32 AM

Feedback

# re: Another powershell quickie - removing all bin and obj directories beneath VS.Net projects 6/23/2008 7:50 AM zigmund

I had a little trouble getting pulled into this volume, hentai I think because the focus was so much on Hachi. Many of my favorite characters, like Yasu and Ren, were given only a cursory look within the pages. Things were just starting to click again when the book came to an end, and it seems like a long time until January, when the next installment hits the store shelves.

Things are going on an even keel for Hachi, and she’s still mooning after Takumi, even though he only gives her the time of day when it’s convenient for him. She makes excuses for him and his behavior; he is a famous rock star, after all, and she’s just not worthy of his love. His lust she’ll settle for, and be miserable keeping their on again off again relationship a secret from all of her friends. Sneaking around, chasing after him, must have finally gotten old, because Hachi actually started to reassess the situation with Takumi, http://nikron.info/index.php?id=103
http://katoklizm.info/index.php?id=40 and realizes that she’s not happy. Nobu making puppy dog eyes at her, and the knowledge of his feelings for her might have helped her along, and given her the strength to end things with Takumi. Sort of. What Hachi sees as ending things, Takumi sees a playing hard http://webkapital.com/index.php?id=69
http://glubinki.info/index.php?id=174
http://maslenka.info/index.php?id=86 to get.

Hachi finally hit a milestone here. She starting thinking of someone else’s feelings, and what she can do for someone else, instead of focusing on herself. hentai

Title  
Name  
Url
Spam Protection:
Enter the code you see:
If you can't read it, click your refresh button to get a new image.
Comments