HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

MPQDraft Patcher Log Wiper for UMSWE3.8 and newer

08-22-2003, 02:45 PM#1
Phil_123
Here is a quick little tool for you to delete all the annoying MPQDraft logs in your Warcraft III directory. Just paste these in Notepad and save it as a .bat file inside your Warcraft III directory. Hope this helps.
Code:
@echo off
echo MPQDraft Patcher log Wiper
echo by Phil_123
echo.
echo Press a key to continue...
echo.
pause>nul
echo Wiping MPQDraft Patcher logs...
echo.
if exist "MPQDraft Patcher log - ????.??.??.??.??.??.????.txt" goto logs_exist
echo No MPQDraft Patcher logs found!
goto quit
:logs_exist
del "MPQDraft Patcher log - ????.??.??.??.??.??.????.txt"
echo.
echo Wiping of logs attempted.
:quit
echo Press a key to quit...
pause>nul
exit
Here are some output text from this tool:
Quote:
All logs deleted
MPQDraft Patcher log Wiper
by Phil_123

Press a key to continue...

Wiping MPQDraft Patcher logs...


Wiping of logs attempted.
Press a key to quit...
Quote:
No logs found
MPQDraft Patcher log Wiper
by Phil_123

Press a key to continue...

Wiping MPQDraft Patcher logs...

No MPQDraft Patcher logs found!
Press a key to quit...
Quote:
Error messages
MPQDraft Patcher log Wiper
by Phil_123

Press a key to continue...

Wiping MPQDraft Patcher logs...

D:\Games\Warcraft III\MPQDraft Patcher log - 2003.08.22.22.39.43.0234.txt
The process cannot access the file because it is being used by another process.

Wiping of logs attempted.
Press a key to quit...
08-22-2003, 02:48 PM#2
Scio
in not very good with bat files, but wouldnt that only delete the first log file it found?
08-22-2003, 02:54 PM#3
Phil_123
Quote:
Originally posted by Scio
in not very good with bat files, but wouldnt that only delete the first log file it found?
No, it deletes all logs.
08-22-2003, 02:58 PM#4
Scio
oh ok, casue i didnt see any loop or anything, so i guess the "?"s just reference ALL possibilities
08-22-2003, 07:29 PM#5
Starcraftfreak
Fine for now, but in the release of UMSWE 4.0, there will be a better solution for this.