In Windows 9x - remember: some of us still use it

- it's DELTREE /Y C:FOLDER[SUBFOLDER] to completely remove a folder and its contents without confirmation.
The command can be used in
autoexec.bat to clear the
TEMP folder or the
Temporary Internet Files folder, where malware may be stored between reboots.
To make it completely stealth when used in autoexec, syntax is:
@DELTREE /Y C:WINDOWSTEMP >NULFor added safety and disk cleanup purposes, those who do not want cookies, history or internet cache may also add the following to autoexec.bat:
@DELTREE /Y C:WINDOWSCookies >NUL@DELTREE /Y C:WINDOWSHistory >NUL@DELTREE /Y C:WINDOWSTEMPOR~1 >NULThe TEMP folder may be recreated after deletion using
@MD C:WINDOWSTEMP >NUL
Make sure you don't accidentally delete the whole WINDOWS folder !!!