Did you install GDIView in the directory named C:\batch ?
I'm not real good at this stuff, but it seems that the author may have changed the GDIView directory to c:\Other Program Files\GDIView\ - so try copying the GDIView files there also.
I suppose that you won't see anything until the GDILimit of 9000 is reached
Also, try this code:
The author states that it generates a logfile, so you can view that to see what happens (log will be at C:\batch\Leak.Log.
set GDIViewPath=C:\Other Program Files\GDIView\
"%GDIViewPath%GDIView.exe" /scomma "%GDIDumpPath%gdiview.txt"
for /f "tokens=2,15 delims=," %%G in (%GDIDumpPath%gdiview.txt) do @if "%%G"=="%GDIProcess%" set totalGDI=%%H
if %totalGDI% gtr %GDILimit% (
Echo WARTING!! at %date% %time% %GDIProcess% was closed at %totalGDI% and the limit was %GDILimit% >>%GDIDumpPath%Leak.Log
taskkill -im %GDIProcess% -f
) else (
Echo %date% %time% It is safe at %totalGDI% and the limit is %GDILimit% >>%GDIDumpPath%Leak.Log