Folder Regulation

Discussion in 'Scripts' started by alphaice, Jan 19, 2010.

  1. #1
    Hello.

    I am trying to get a hold of a script that regulates a folders size by deleting oldest posts ( Deleting Folders or Files within that folder) in Windows based file system.

    So if i have C:\Files and i have a program downloading to this folder constantly. I would need the script to delete Files/Folders when the C:\Files Reaches a maximum of 50GB.

    Then everytime i open this folder, only up to date items would be in the list, that fills up the 50GB quota of the Folder.

    Is this possible? I was thinking about maybe using batch with Task scheduler to run every hour.
    But i wouldnt know where to start.
     
    alphaice, Jan 19, 2010 IP