No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cleanup.cmd 476B

12345678910111213141516171819202122
  1. @echo off
  2. rem delete all files from subfolders
  3. for /d /r %%i in (*) do del /f /q %%i\*
  4. rem delete all subfolders
  5. for /d %%i in (*) do rd /S /Q %%i
  6. rem unmark read only from all files
  7. attrib -R .\* /S
  8. rem mark read only those we wish to keep
  9. attrib +R .\create_project.tcl
  10. attrib +R .\cleanup.sh
  11. attrib +R .\cleanup.cmd
  12. attrib +R .\release.py
  13. attrib +R .\.gitignore
  14. attrib +R .\_READ_ME_.txt
  15. rem delete all non read-only
  16. del /Q /A:-R .\*
  17. rem unmark read-only
  18. attrib -R .\*