tag:blogger.com,1999:blog-4149930.post4889603479453870606..comments2023-08-10T10:53:35.019-04:00Comments on SQL Soundings: Vista Mail Using 100% of CPU?Larry Leonardhttp://www.blogger.com/profile/01248746755565439137noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-4149930.post-8944767766688401352007-11-25T14:47:00.000-05:002007-11-25T14:47:00.000-05:00Here's a batch file to delete these files. Use at...Here's a batch file to delete these files. Use at your own risk.<BR/><BR/>@echo off<BR/><BR/>rem ---------------------------------------------------------------------------<BR/>rem Delete all empty Vista Mail files so it doesn't peg the CPU.<BR/>rem ---------------------------------------------------------------------------<BR/><BR/>@echo ==================================================================== > %temp%\~DeleteZeroByteEmlFilesLog.txt <BR/>@echo Starting >> %temp%\~DeleteZeroByteEmlFilesLog.txt<BR/>date /t >> %temp%\~DeleteZeroByteEmlFilesLog.txt<BR/>time /t >> %temp%\~DeleteZeroByteEmlFilesLog.txt<BR/><BR/>c:<BR/><BR/>cd c:\Users\Larry\AppData\Local\Microsoft\Windows Mail\Local Folders\Inbox<BR/>for /R %%A in (*.eml) do if %%~zA EQU 0 del %%~sA >> %temp%\~DeleteZeroByteEmlFilesLog.txt<BR/><BR/>cd c:\Users\Larry\AppData\Local\Microsoft\Windows Mail\Local Folders\Deleted Items<BR/>for /r %%A in (*.eml) do if %%~zA EQU 0 del %%~sA >> %temp%\~DeleteZeroByteEmlFilesLog.txt<BR/><BR/>cd c:\Users\Larry\AppData\Local\Microsoft\Windows Mail\Local Folders\Junk E-mail<BR/>for /r %%A in (*.eml) do if %%~zA EQU 0 del %%~sA >> %temp%\~DeleteZeroByteEmlFilesLog.txt<BR/><BR/>@echo Finished >> %temp%\~DeleteZeroByteEmlFilesLog.txt<BR/>date /t >> %temp%\~DeleteZeroByteEmlFilesLog.txt<BR/>time /t >> %temp%\~DeleteZeroByteEmlFilesLog.txt<BR/>@echo ==================================================================== >> %temp%\~DeleteZeroByteEmlFilesLog.txtLarry Leonardhttps://www.blogger.com/profile/01248746755565439137noreply@blogger.com