REM ** mIRCStats automatic update batch file REM ** Updated for multiple file upload 2.6.2002 ECHO ** mIRCStats autoupdate started ** ECHO . REM ** Change these variables to match your files. set mircstats=e:\mircstats\mircstats.exe set chanlog=d:\mirc\logs\#mychannel.log set stats=e:\mystats\mychannel.html set ftpscript=e:\mircstats\autoupdate\ftpscript.txt REM * To close dos window when autoupdate is finished, create a shortcut to windows desktop REM * and check "Close on exit"! Easy. (thanks to Chuq for informing me this one!) REM ** First delete old stats so we can see when new one is ready echo Trying to delete old stats from %stats%... del %stats% echo . echo mIRCStats launched with following parameters: echo log: %chanlog% echo stats destination: %stats% REM ** Runs mIRCStats with your log file as a command line parameter: REM ** You can also use specific config file for this automatic update (-c configfile.cfg) START /w %mircstats% %chanlog% %stats% REM START /w %mircstats% %chanlog% %stats% -c myconfigfile.cfg REM ** More info about mircstats.exe command line parameters from mircstats readme.txt echo . echo New stats ready at %stats% echo Uploading stats to remote server.. echo . REM ** Execute dos-ftp with some commands from script file ftp -i -s:%ftpscript%