This video shows that how delete all junk files like temp, prefetch , cokkies etc by dos commands using a single click.
This works like one click maintenance when all command written in a single file and saved the same as a batch file.Commands are given below:
Cleanup cookies for current user
del "%USERPROFILE%"\cookies\*.txt
Cleanup temp directory for current user
del /s /f /q "%USERPROFILE%"\locals~1\temp\*
rmdir /s /q "%USERPROFILE%"\locals~1\temp
mkdir "%USERPROFILE%"\locals~1\Temp
Cleanup temporary internet file directories for current user
del /s /f /q "%USERPROFILE%"\locals~1\tempor~1\*
del /s /f /q /a:s "%USERPROFILE%"\locals~1\tempor~1\*
del /s /f /q /a:h "%USERPROFILE%"\locals~1\tempor~1\*
del /s /f /q /a:r "%USERPROFILE%"\locals~1\tempor~1\*
rmdir /s /q "%USERPROFILE%"\locals~1\tempor~1
Cleanup history for current user
del /s /f /q "%USERPROFILE%"\locals~1\history\*
Cleanup Windows prefetch
del /s /f /q "%SystemRoot%"\prefetch\*
Cleanup Windows minidump
del /s /f /q "%SystemRoot%"\Minidump\*
Cleanup Windows temp
del /s /f /q "%SystemRoot%"\temp\*
rmdir /s /q "%SystemRoot%"\temp\
mkdir "%SystemRoot%"\Temp
Cleanup recent shortcuts for current user
del /s /f /q "%USERPROFILE%"\recent\*
Cleanup environment varable set temp storage
del /s /f /q "%TEMP%"
Cleanup environment varable set tmp storage
del /s /f /q "%TMP%"
Cleanup c:\temp
del /s /f /q c:\temp\*
rmdir /s /q c:\temp\
mkdir c:\Temp
REM Cleanup Recycle Bin storage areas
del /s /f /q c:\Recycled\*
del /s /f /q c:\Recycler\*
follow us on BLOG : https://jeetesh17.blogspot.in/