how to delete temporary asp.net files at once

I am trying to delete temporary asp.net files from C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files and some folders get deleted but for some folders I have to open each folder and then delete them . Have set the property of folder as NOT READ ONLY but still some files do not get deleted. It is very time consuming. Is there any property I can set which can help me delete all the files/folders at once? Thanks in advance

5

1 Answer

(IF you running on IIS local) Just Stop IIS service, then you can delete all folders.

Stop IIS -> CMD -> iisreset /stop; Start IIS -> CMD -> iisreset /start;

(IF you running on IISEXPRESS) Close the iisexpress service, delete folders then running it back.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like