• Creator
  • #3945212

    Deleting Folder With Exceptions List

    by gmbracknell ·


    Someone suggested Robocopy?

    Every month I have a folder with many thousands of files. I need to delete all files with the exception of several hundred.

    Its the same several hundred every month.

    I have no IT skills, this is windows.

    Is there an app or something I can just paste the ‘keep files’ names into then delete the rest?

You are posting a reply to: Deleting Folder With Exceptions List

The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our Community FAQs for details. All submitted content is subject to our Terms of Use.

All Answers

  • Author
    • #3945224
      Avatar photo

      Re: deleting files

      by kees_b ·

      In reply to Deleting Folder With Exceptions List

      Make those several 100 files read-only. Then deleting *.* won’t delete them.

      Or are it fresh copies with the same name but different content? Then it’s a little bit more complex, although still easy. You need 2 batch files then. One to make those files read-only, one to undo that and make them over-writeable again. It’s all standard Windows, no need to be able to program.

Viewing 0 reply threads