bla!!
Daemon Poster
- Messages
- 1,118
- Location
- /usr/root/mn/us
Here one I just did and it works. It just has to be done on logon.
Code:
@echo off
:Menu
cls
echo.
echo clear temp files
echo. ----------------------------------
echo 1. delete files
echo.
echo 2. EXIT
echo ----------------------------------
set /p choice=Select an Action:
pause
echo %choice%
if %choice%==2 goto EXIT
if %choice%==1 goto user
:EXIT
exit
:remove
del c:\windows\temp\*.*
cd %userprofile%\Local Settings\Temp
del *.*
cd %userprofile%\Local Settings\Temporary Internet Files\
del *.*
pause
goto exit
:USER
pause
cd %userprofile%\Cookies
del *.*
pause
goto remove