Thread: quick question
View Single Post
Old 01-07-2005, 01:28 PM   #11 (permalink)
bla!!
 
Monster Techie

Join Date: May 2004

Location: /usr/root/mn/us

Posts: 1,121

bla!! is on a distinguished road

Default

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

__________________
<br>
Its a frigging Laptop, not a Labtop!!!!
bla!! is offline