snipt

Ctrl+h for KB shortcuts

Batchfile

batchfile to remove .svn dirs in all subdirs

FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"
https://snipt.net/embed/4488a37ce158d21987bbe702af1ee97e/
/raw/4488a37ce158d21987bbe702af1ee97e/
4488a37ce158d21987bbe702af1ee97e
bat
Batchfile
1
2019-07-22T02:15:14
True
False
False
/api/public/snipt/3722/
batchfile-to-remove-svn-dirs-in-all-subdirs
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="k">FOR</span> <span class="k">/F</span> <span class="s2">&quot;tokens=*&quot;</span> <span class="se">%%</span>G <span class="k">IN</span> <span class="p">(</span><span class="s1">&#39;DIR /B /AD /S *.svn*&#39;</span><span class="p">)</span> <span class="k">DO</span> <span class="k">RMDIR</span> /S /Q <span class="s2">&quot;</span><span class="se">%%</span><span class="s2">G&quot;</span> </span></pre></div> </td></tr></table>
batch, batchfile, dir, svn