IIS ASP.Net Clear Temp Files

Date: 2018-01-30
@echo off
cls
iisreset /stop
Taskkill /T /F /IM w3wp.exe
FOR /D %%p IN ("c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\*.*") DO rmdir "%%p" /s /q
iisreset /start
PAUSE

 

9940cookie-checkIIS ASP.Net Clear Temp Files