booksnew/tools/tidybook.bat
2015-07-15 14:15:01 +01:00

11 lines
172 B
Batchfile

@Echo Off
Set DirPath=%1
mkdir %DirPath%\errors
FOR %%i IN (%DirPath%\*.xhtml) DO c:\tools\tidy -file %DirPath%\errors\%%~ni.txt -clean -numeric -asxhtml -m %%i
:EXIT