Thread: quick question
View Single Post
Old 01-07-2005, 08:26 AM   #4 (permalink)
Roshi229
 
Ultra Techie

Join Date: Oct 2004

Posts: 600

Roshi229

Send a message via AIM to Roshi229 Send a message via Yahoo to Roshi229
Default

thanks bla!!
still not working fully... it is asking the name but still says "the system cannot find the path specified"

here's what i got... so far
:MENU
@echo off
cls
echo.
echo clear temp files
echo. ----------------------------------
echo 1. delete files
echo.
echo 2. EXIT
echo ----------------------------------
choice /c:12 " SELECT AN ACTIVITY

if errorlevel ==2 goto EXIT
if errorlevel ==1 goto user

:EXIT
exit

:remove
deltree /y c:\windows\temp\*.*
pause

:USER
set var=0
set /p var=Enter your User Name:
cd\cookeis
deltree /y C:\Documents and Settings\%var%\Cookies\*.*
goto remove


the pause was added in there so that i could debug a bit... and read what it was doing before it went away. it will be removed later.
this is what it is atm... it has changed over and over... i've tried to cd\ to the folder i've tried everything i can think of...
if i can get past this hurdle i'll be off and running.

i am doing this b/c there is a major spyware problem on our netowork, this will enable us to rapidly clean many systems when it's done. or add to the logon script so that users are forced to clean the system every morning.

thanks.
__________________
http://www.kbdigisol.com

<form action=\"http://www.srsyo.org/tfsearch.php\" method=\"get\">
<input type=\"text\" name=\"search\"> <input type=\"submit\" name=\"submit\" value=\"Search first, ask later!\"></form>
powered by emily .
Roshi229 is offline