2. The TEMP directory under the root directory of drive C is the directory pointed by the temporary files of many tools and programs. Without this directory, temporary files cannot be created, and these tools and software are likely to make mistakes. So if you want to delete it, just empty the temporary file garbage inside, and don't kill the temp directory; There is usually a temporary file in Windows, which is the default location of the temporary file. It is also not recommended to delete all directories, just empty the garbage inside regularly.
3. I suggest you use 360 security guards or optimization masters to clean up temporary files.
Or save the following operation in bat format, and it will be cleared.
@ Turn off echo
Echo-
Empty IE temporary files directory. ...
del/f/s/q " % user profile % \ Local Settings \ Temporary Internet Files \ *。 *"
del/f/s/q " % user profile % \ Local Settings \ Temp \ *。 *"
Echo is cleaning up temporary system files *. tmp *。 _tmp *。 Journal *. chk *。 Please wait a moment, Lao Sun. ...
del /f /s /q %systemdrive%\*。 Terminal Monitor Program (abbreviation of terminal monitor program)
del /f /s /q %systemdrive%\*。 _mp
Rem. Logs are most likely to be useful.
rem del /f /s /q %systemdrive%\*。 log
del /f /s /q %systemdrive%\*。 Dizziness
del /f /s /q %systemdrive%\*。 chk
del /f /s /q %systemdrive%\*。 old
Echo emptied the trash, backed up files and pre-cached scripts. ...
del/f/s/q % system drive % \ recycled \ *。 *
del /f /s /q %windir%\*。 bak
Del/f/s/q% windir% \ prefetch \ *. *
rd/s/q % windir % \ temp & amp; md %windir%\temp
Rem Cook and recent history should be preserved. ...
rem del/f/q % user profile % \ COOKIES s \ *。 *
rem del/f/q % user profile % \ recent \ *。 *
Echo cleans up useless files on the system disk. ...
% windir % \ system32 \ sfc . exe/purge cache
Echo optimizes pre-reading information ...
% windir % \ system32 \ defrag . exe % system drive %-b
Echo, clear the system. Complete!
Echo-