its kinda useless nowadays but there's some people still dont know how to clear it fast.
1. open a 'new text document'
Paste this code there
Close and savePaste this code there
PHP Code:
@echo off
set DMP_DIR=dump
set FATAL_Dir=FatalLog
set REPORT_DIR=ReportLog
if not exist %DMP_Dir% mkdir %DMP_Dir%
if not exist %FATAL_Dir% mkdir %FATAL_Dir%
if not exist %REPORT_Dir% mkdir %REPORT_Dir%
if exist *.dmp move /Y *.dmp %DMP_Dir% >NUL
if exist *_FatalLog.txt move /y *_FatalLog.txt %FATAL_Dir% >NUL
if exist ReportLog_*.txt move /Y ReportLog_*.txt %Report_Dir% >NUL
rem pause
Change the text name from 'New Text Document.txt'
to ' "ANYTHING".bat ' and move it to the server files folder
Click it whenever its needed it will store and collect the dumps , error files to
"dump" "FatalLog" "ReportLog"
Then you can delete these 3 folders whenever you want
If you didn't find this useful, Other people do






