batch - find files in dir where filename contains a number
<p>I have a report that deposits files from a network (NTFS) folder into another specific network (NTFS) folder. Some of the files contain a random string of numbers in the file name (example filename: <code>xxsample_export 2131.xml</code>). I need to find and delete all files in the folder that contain numbers in the filename. I've tried using Findstr but no luck so far. :(</p>

<p>Edit: I've tried this, I'm incredibly new at findstr. Thanks for your assistance. </p>

<pre><code>for /F %%F in (dir /A -D "%Path%\*.xml" | findstr  /R "[0-9]*.xml" do del %%F"    
</code></pre>