it still won't delete the temporary internet files.
it runs through no messages like it's working, but fails to delete anything in that folder, everytime! i don't get it.
thanks so much for your help... i'm not sure why i am having so much trouble.
@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
:menua
@echo off
cls
echo.
echo **********************************************
echo Cookies have been deleted
echo would you like to continue with cleanup?
echo **********************************************
echo.
echo press 1 to continue
echo press 2 for main menu
echo.
set /p choice=please make a selection:
echo %choice%
if %choice%==2 goto MENU
if %choice%==1 goto menub
:menub
@echo off
cls
echo.
echo *******************************************
echo ** This will remove all of the following **
echo ** files for the current user: **
echo *******************************************
echo ** History **
echo ** temp **
echo ** temporary internet files **
echo *******************************************
echo.
echo ARE YOU SURE YOU WISH TO CONTINUE? Y/N
echo.
set /p choice=well:
if %choice%==N goto MENU
if %choice%==Y goto remove
if %choice%==n goto MENU
if %choice%==y goto remove
:EXIT
exit
:remove
del /q /f c:\windows\temp\*.*
cd %userprofile%\Local Settings\Temp
del /q /f *.*
cd %userprofile%\Local Settings\Temporary Internet Files\
del /q /f *.*
cd %userprofile%\Local Settings\History
del /q /f *.*
pause
goto MENU
:USER
pause
cd %userprofile%\Cookies
del /q /f *.*
pause
goto menua