@ECHO OFF
Echo * This little batch file will clean out *
Echo * temporary ztmp files created from clients *
Echo * downloading maps off the server. *
Echo * If you do not wish to continue close *
Echo * this window. *
Echo * This script is written thinking your HLDS *
Echo * installation is installed in c:\hlserver *
Echo -
pause
cd c:\
cd hlserver
Echo Deleting ztmp files...
Echo -
del *.ztmp /s
Echo -
Echo OK All clean!
pause
del *.ztmp /s > X:\path\to\output.log
echo >> output.log
date /t >> output.log
del *.ztmp /s >> output.log