[pchelpers] Re: user accounts and malware removal

Hi DonBieber,

Monday, August 29, 2005, 1:36:32 PM, you wrote:

DSn> What exactly would I do with what you included below? Would I copy and
DSn> paste it in a Notepad file and name it ending in .bat and then double
DSn> click it to do it's thing?

Yes.

DSn> Or would I copy and paste it into the Autoexec.bat file so it does it's
DSn> thing every time the computer starts?

NO. First, AUTOEXEC.BAT does not run in Windows XP anyway, without
some help. Second, you don't want to delete temp files at every
startup or logon, because some programs require the computer to be
restarted before they can finish installing, and this would cause
problems for them.



DSn> Scott McNay wrote:

>>The following will delete all files in temp folders, in WinXP:

>>for /F "tokens=*" %a in ('DIR /A /B "%USERPROFILE%\.."') do @del
>>/Q /S /F "%USERPROFILE%\..\%~a\Local Settings\Temp"

>>for /F "tokens=*" %a in ('DIR /A /B "%USERPROFILE%\.."') do @del
>>/Q /S /F "%USERPROFILE%\..\%~a\Local Settings\Temporary Internet
>>Files"

>>del /Q /S /F "%SYSTEMROOT%\Temp"

>>del /Q /S /F "%SYSTEMROOT%\System32\Temp"

>>del /Q /S /F "%SYSTEMROOT%\system32\config\systemprofile\Local Setting\Temp"

>>del /Q /S /F "%SYSTEMROOT%\system32\config\systemprofile\Local
>>Setting\Temporary Internet Files"

-- 
Scott.




-- 
-------list-services-below-----------
Regards, John Durham (list moderator) <http://modecideas.com/contact.html?sig>
Freelists login at http://www.freelists.org/cgi-bin/lsg2.cgi
List archives at http://www.freelists.org/archives/pchelpers
PC-HELPERS list subscribe/unsub at http://modecideas.com/discuss.htm?sig
Latest news live feeds at http://modecideas.com/indexhomenews.htm?sig
Good advice is like good paint- it only works if applied.

Other related posts: