• My last test was interesting. Earlier I was testing with (4) files I created using Notepad. I was unable to get these files to delete. Then I created (3) files by backing up the NorthWind Database. So here are the files I had:

    TestFile1.bak

    TestFile2.bak

    TestFile3.bak

    TestFile4.bak

    NorthWind1.bak

    NorthWind2.bak

    NorthWind3.bak

    Then I ran the job again and some files where deleted. Here are the file that were not deleted:

    TestFile1.bak

    NorthWind1.bak

    NorthWind2.bak

    NorthWind3.bak

    Here is my log file showing a Mask = .bak and Files to keep = 2:

    Logging File Purge Activity: 2/22/2006 1:42:55 PM

    ----------------------------------------

    Path = D:\Production\PROD\Developement\DeleteTest

    Mask = .bak

    Files to keep = 2

     

    TestFile2.bak 2/22/2006 9:12:00 AM DELETED

     

    TestFile3.bak 2/22/2006 9:12:00 AM DELETED

     

    TestFile4.bak 2/22/2006 9:12:00 AM DELETED