title: Batch file to delete C:\users\*name* except for specified folders
body: <p>I'm trying to write a batch file to delete all folders within c:\users with some exceptions.</p>
  
  <p>Scenario:
  We have multiple shared PCs in a library which users may log onto and never use again. This often fills up the c:\ drive with user profiles.</p>
  
  <p>I would like to remove all folders from c:\users except c:\users\defaultuser0 and c:\users\public.</p>
  
  <p>Hopefully that makes sense?
  I've seen some other questions/answers but they only specify how to specify 1 folder.
  Also, I am aware of delprof as we do use it in other applications but I would like to write my own file so I can amend it for this case.</p>