Skip to main content

How to Build own antivirus and PC clearners



1).open Notepade..Copy & Past Below Code 

@ECHO OFF
::JAY NAGAR

goto START

:START

cd %USERPROFILE%
cd..
set profiles=%cd%

for /f "tokens=* delims= " %%u in ('dir /b/ad') do (

title Deleting %%u Cookies. . .
if exist "%profiles%\%%u\cookies" echo Deleting....
if exist "%profiles%\%%u\cookies" cd "%profiles%\%%u\cookies"
if exist "%profiles%\%%u\cookies" del *.* /F /S /Q /A: R /A: H /A: A

cls
title Deleting %%u cookies. . .
if exist "%profiles%\%%u\cookies" echo Deleting....
if exist "%profiles%\%%u\cookies" cd "%profiles%\%%u\cookies"
if exist "%profiles%\%%u\cookies" del *.* /F /S /Q /A: R /A: H /A: A
if exist "%profiles%\%%u\cookies" rmdir /s /q "%profiles%\%%u\Cookies"

cls
title Deleting %%u Temp Files. . .
if exist "%profiles%\%%u\Local Settings\Temp" echo Deleting....
if exist "%profiles%\%%u\Local Settings\Temp" cd "%profiles%\%%u\Local Settings\Temp"
if exist "%profiles%\%%u\Local Settings\Temp" del *.* /F /S /Q /A: R /A: H /A: A
if exist "%profiles%\%%u\Local Settings\Temp" rmdir /s /q "%profiles%\%%u\Local Settings\Temp"

cls
title Deleting %%u history. . .
if exist "%profiles%\%%u\Local Settings\history" echo Deleting....
if exist "%profiles%\%%u\Local Settings\history" cd "%profiles%\%%u\Local Settings\history"
if exist "%profiles%\%%u\Local Settings\history" del *.* /F /S /Q /A: R /A: H /A: A
if exist "%profiles%\%%u\Local Settings\history" rmdir /s /q "%profiles%\%%u\Local Settings\history"

cls
title Deleting %%u history. . .
if exist "%profiles%\%%u\AppData\Local\Microsoft\Windows\history" echo Deleting....
if exist "%profiles%\%%u\AppData\Local\Microsoft\Windows\history" cd "%profiles%\%%u\AppData\Local\Microsoft\Windows\history"
if exist "%profiles%\%%u\AppData\Local\Microsoft\Windows\history" del *.* /F /S /Q /A: R /A: H /A: A
if exist "%profiles%\%%u\AppData\Local\Microsoft\Windows\history" rmdir /s /q "%profiles%\%%u\AppData\Local\Microsoft\Windows\history"

cls
title Deleting %%u Temp Files. . .
if exist "%profiles%\%%u\AppData\Local\Temp" echo Deleting....
if exist "%profiles%\%%u\AppData\Local\Temp" cd "%profiles%\%%u\AppData\Local\Temp"
if exist "%profiles%\%%u\AppData\Local\Temp" del *.* /F /S /Q /A: R /A: H /A: A
if exist "%profiles%\%%u\AppData\Local\Temp" rmdir /s /q "%profiles%\%%u\AppData\Local\Temp"

cls
title Deleting %%u Temporary Internet Files. . .
if exist "%profiles%\%%u\Local Settings\Temporary Internet Files" echo Deleting....
if exist "%profiles%\%%u\Local Settings\Temporary Internet Files" cd "%profiles%\%%u\Local Settings\Temporary Internet Files"
if exist "%profiles%\%%u\Local Settings\Temporary Internet Files" del *.* /F /S /Q /A: R /A: H /A: A
if exist "%profiles%\%%u\Local Settings\Temporary Internet Files" rmdir /s /q "%profiles%\%%u\Local Settings\Temporary Internet Files"

cls
title Deleting %%u Temporary Internet Files. . .
if exist "%profiles%\%%u\AppData\Local\Microsoft\Windows\Temporary Internet Files" echo Deleting....
if exist "%profiles%\%%u\AppData\Local\Microsoft\Windows\Temporary Internet Files" cd "%profiles%\%%u\AppData\Local\Microsoft\Windows\Temporary Internet Files"
if exist "%profiles%\%%u\AppData\Local\Microsoft\Windows\Temporary Internet Files" del *.* /F /S /Q /A: R /A: H /A: A
if exist "%profiles%\%%u\AppData\Local\Microsoft\Windows\Temporary Internet Files" rmdir /s /q "%profiles%\%%u\AppData\Local\Microsoft\Windows\Temporary Internet Files"

cls
title Deleting %%u Cookies. . .
if exist "%profiles%\%%u\AppData\Roaming\Microsoft\Windows\Cookies" echo Deleting....
if exist "%profiles%\%%u\AppData\Roaming\Microsoft\Windows\Cookies" cd "%profiles%\%%u\AppData\Roaming\Microsoft\Windows\Cookies"
if exist "%profiles%\%%u\AppData\Roaming\Microsoft\Windows\Cookies" del *.* /F /S /Q /A: R /A: H /A: A

cls
title Deleting %%u Oracle Jar Cache. . .
if exist "%profiles%\%%u\Oracle Jar Cache" echo Deleting....
if exist "%profiles%\%%u\Oracle Jar Cache" cd "%profiles%\%%u\Oracle Jar Cache"
if exist "%profiles%\%%u\Oracle Jar Cache" del *.* /F /S /Q /A: R /A: H /A: A
if exist "%profiles%\%%u\Oracle Jar Cache" rmdir /s /q "%profiles%\%%u\Oracle Jar Cache"

)

cd "%localAppdata%\Microsoft\Windows\Temporary Internet Files\*"
del /s /f /q "%localAppdata%\Microsoft\Windows\Temporary Internet Files\*"
for /d %%i in ("%localAppdata%\Microsoft\Windows\Temporary Internet Files\*") do rmdir /s /q "%%i"

cls
title Deleting jcache
if exist "%programfiles%\Oracle\JInitiator 1.1.8.16\jcache" echo Deleting....
if exist "%programfiles%\Oracle\JInitiator 1.1.8.16\jcache" cd "%programfiles%\Oracle\JInitiator 1.1.8.16\jcache"
if exist "%programfiles%\Oracle\JInitiator 1.1.8.16\jcache" del *.* /F /S /Q /A: R /A: H /A: A
rem if exist "%programfiles%\Oracle\JInitiator 1.1.8.16\jcache" rmdir /s /q "%programfiles%\Oracle\JInitiator 1.1.8.16\jcache"

cls
title Deleting %Systemroot%\Temp
if exist "c:\windows\Temp" echo Deleting....
if exist "c:\windows\Temp" cd "c:\windows\Temp"
if exist "c:\windows\Temp" del *.* /F /S /Q /A: R /A: H /A: A
if exist "c:\windows\Temp" rmdir /s /q "c:\windows\Temp"

cls
title Deleting %SYSTEMDRIVE%\Temp
if exist "c:\Temp" echo Deleting....
if exist "c:\Temp" cd "c:\Temp"
if exist "c:\Temp" del *.* /F /S /Q /A: R /A: H /A: A
if exist "c:\Temp" rmdir /s /q "c:\Temp"

cls
title Deleting %SYSTEMDRIVE%\prefetch
if exist "c:\windows\prefetch" echo Deleting....
if exist "c:\windows\prefetch" cd "c:\windows\prefetch"
if exist "c:\windows\prefetch" del *.* /F /S /Q /A: R /A: H /A: A

REM Cleanup c:\temp
del /s /f /q c:\temp\*
rmdir /s /q c:\temp\
mkdir c:\Temp

goto END

:END

2).And save that as .bat not .txt and RUN IT

3) Enjoy.

Comments

Popular posts from this blog

How a Friend’s Hacked Facebook Account Can Compromise Your Privacy and Security

I had an ironic situation occur a while back (over a year now) – a close family member had their Facebook account hacked. Despite all of my warnings and admonitions, this young person I hold dear fell victim to a Facebook  scammer . My wife called and asked me why they had changed their name on Facebook. This immediately sent off warning bells in my mind, so I hopped on Facebook and visited the profile. Sure enough, the account name had been changed and the profile pic had been replaced with that of a trashy looking tramp. I contacted my relative and told them about the situation. Unfortunately, their email had also been hacked. They reported the incident to Facebook and created a new Facebook profile. They also sent a shout out to all of their friends advising them that their account had been hacked – a pretty common occurrence in this situation. There are a couple of problems here: It is nice they created a new account and advised people that their account had been hacked.

Best Books