<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Mount-SpecialFolders.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/12/15/mount-specialfolders-ps1.aspx</link><description>The other day I showed you how you can use ENUMs.&amp;#160; I showed an example of how you can find all the SPECIALFOLDERs on a system.&amp;#160; Here is a script that I call Mount-SpecialFolders.ps1 which mounts all your special folders as PowerShell drives.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Mount-SpecialFolders.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/12/15/mount-specialfolders-ps1.aspx#9236321</link><pubDate>Thu, 18 Dec 2008 18:11:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9236321</guid><dc:creator>Max Schmeling</dc:creator><description>&lt;p&gt;This is a very useful little script. Thank you!&lt;/p&gt;</description></item><item><title>re: Mount-SpecialFolders.ps1</title><link>http://blogs.msdn.com/powershell/archive/2008/12/15/mount-specialfolders-ps1.aspx#9435841</link><pubDate>Fri, 20 Feb 2009 13:51:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9435841</guid><dc:creator>Multidisciplinary</dc:creator><description>&lt;p&gt;Very nice, THX!&lt;/p&gt;
&lt;p&gt;Too bad Environment.SpecialFolder enumeration does not contain all special folders.&lt;/p&gt;
&lt;p&gt;So I had to do a little extra work - slightly modified the function and run:&lt;/p&gt;
&lt;p&gt;$a = New-Object –com Shell.Application&lt;/p&gt;
&lt;p&gt;MountFolder &amp;quot;AllUsersDesktop&amp;quot; ($a.namespace(0x19)).Self.Path&lt;/p&gt;
&lt;p&gt;MountFolder &amp;quot;AllUsersStartMenu&amp;quot; ($a.namespace(0x16)).Self.Path&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;Btw, hex values can be taken from VBScripts &lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/technet/scriptcenter/scripts/desktop/special/"&gt;http://www.microsoft.com/technet/scriptcenter/scripts/desktop/special/&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>