This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REM This batch file will test all of the common archive formats | |
| REM (zip, rar, 7z, gz) and .epub books (epub is just HTML inside zip container) | |
| REM using 7zip (free and open source, get it from https://www.7-zip.org) | |
| REM All bad archives are moved to "c:\BadArchives" by default, | |
| REM and the directory is created if it doesn't exist. | |
| REM Change the directory name as wanted (in two places) | |
| REM and path to 7z.exe if it isn't in the default folder. | |
| REM Password-protected files are considered to be invalid as well. | |
| MKDIR "c:\BadArchives" |