<ul dir="auto">
<li>VSCode Version:0.10.11</li>
<li>OS Version:Windows 10</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Open powershell and cd to a existing project folder</li>
<li>run "code ."</li>
<li>Try to rename an existing folder</li>
</ol>
<p dir="auto">VSCode return an error "Operation not permtited".</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/593137/14441479/53d1b80c-000b-11e6-8ec2-7a1f8161381e.png"><img src="https://cloud.githubusercontent.com/assets/593137/14441479/53d1b80c-000b-11e6-8ec2-7a1f8161381e.png" alt="image" style="max-width: 100%;"></a></p>
<ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: Windows 2012 R2</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Open project and do some work</li>
<li>Update a npm package. e.g. <code class="notranslate">npm i -D typescript</code></li>
</ol>
<p dir="auto">It errors with:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npm ERR! Error: EPERM: operation not permitted, rename 'E:\hwong\p4\projects\pandash\node_modules\typescript' -&gt; 'E:\hwong\p4\projects\pandash\node_modules\.typescript.DELETE'"><pre class="notranslate">npm ERR<span class="pl-k">!</span> Error: EPERM: operation not permitted, rename <span class="pl-s"><span class="pl-pds">'</span>E:\hwong\p4\projects\pandash\node_modules\typescript<span class="pl-pds">'</span></span> -<span class="pl-k">&gt;</span> <span class="pl-s"><span class="pl-pds">'</span>E:\hwong\p4\projects\pandash\node_modules\.typescript.DELETE<span class="pl-pds">'</span></span></pre></div>
<p dir="auto">Once I close VSCode and retry <code class="notranslate">npm i -D typescript</code>, it works fine.</p>