<p>...or am I stuck rolling my own "XML chopping" functions. I'd like to create a small tasktray app so I can quickly re-point a Virual Directory to one of several of folders on my harddisk.</p>

<p><strong>Bit of background:</strong> </p>

<p>I have 3 different svn branches of our code base on my dev machine.</p>

<pre><code>Current Production Branch    ( C:\Projects\....\branches\Prod\ )
Next Release Canidate Branch ( C:\Projects\....\branches\RCX\ )
Trunk                        ( C:\Projects\....\trunk\ )
</code></pre>

<p>Our app integrates with a 3rd party CMS which I've installed at</p>

<pre><code>http://localhost/cms/
</code></pre>

<p>In order to work our app has to live at the same root directory. so:</p>

<pre><code>http://localhost/app/
</code></pre>

<p>Depending on the branch I'm working on, I'm re-pointing the <code>/app/</code> directory to one of the 3 paths listed above by going into IIS Manager. Just thought it'd be handy to have a quick-app to do it for me.</p>

I haven't used this my self, so I'm not 100% sure it will solve your problem. But take a look at System.DirectoryServices in .NET. It can access IIS.
MSDN help for DirectoryServices