Saturday, 2 September 2017

Clean %temp% in windows by batch file


Create a batch file with below content and double click it to clean temp folder in windows machine.

@echo off
cd %temp%
for /d %%D in (*) do rd /s /q "%%D"
del /f /q *

No comments:

Post a Comment

Thank You for your valuable comment

Difference between class level and object locking and static object lock

1) Class level locking will lock entire class, so no other thread can access any of other synchronized blocks. 2) Object locking will lo...