title: How to log deleted files with command prompt
body: <p>So I have a batch file that I run from time to time to delete any file with a .log extension from a specific folder.  However recently I've found the need to log the name of the files that this script deletes (ironically).  So I tried using <code>del *.log &gt;&gt; "dellog.txt</code> however it doesn't seem to put anything in the text file.  Am I formatting this wrong or does the del command not output anything?  If so, how would I go about doing this.</p>