mkdir immediatly after rmdir gives me access denied : <p>I have a folder (let's call it <code>F</code>). </p>

<p>I wrote a batch file that does</p>

<pre><code>rmdir F /S /Q
mkdir F
</code></pre>

<p>When I call the mkdir <code>F</code>, it gives me access denied, probably because the system may be still deleting <code>F</code>. How can I do to deal with this problem?</p>
