Created
February 19, 2016 14:14
-
-
Save jcefoli/b0b1b08520c7c8dfe82f to your computer and use it in GitHub Desktop.
Flush .NET Cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
iisreset /stop | |
ECHO Deleting x86 Temporary ASP.NET Files... | |
for /d %%i in ("%systemroot%\Microsoft.Net\Framework\v*") do for /d %%f in ("%%i\Temporary ASP.NET Files\*") do RD /q/s "%%f" | |
ECHO Deleting x64 Temporary ASP.NET Files | |
for /d %%i in ("%systemroot%\Microsoft.Net\Framework64\v*") do for /d %%f in ("%%i\Temporary ASP.NET Files\*") do RD /q/s "%%f" | |
iisreset /start | |
@ECHO ON |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment