Autorun virusu var yəqin kompüterinizdə. Antivirusla problemi həll edincəyə qədər hələlik belə açın diskləri:
1. Sağ düyməni diskin üzərində vurun, oradan Otkrit edin.
2. Ünvan sətri var yuxarıda, şəkildə moy komputer yazılan sətir, ora əllə yazın c: və enteri basın
Formatdan sonra düzəlməmə ehtimalı yoxdur, yəqin D-ni format etməmisiniz, virus ordan təzədən keçib o birilərə
Cavablamaq üçün sağ sütundan hesaba daxil olmaq lazımdır
Bu ünvanda yerləşən Kaspersky Virus Removal Tool proqramı vasitəsilə kompüterinizi yoxlayın. Üstünlükləri haqqında həmin ünvanda oxuyarsan. Sadəcə o real zaman rejimində kompüteri müdafiə etmir. Məhz sizin kompüterlə baş verən hal üçün əhəmiyyəti böyükdür. Əgər hər şey normal alınsa, sonra yenidən C diskini format et və əməliyyat sistemini yenidən yüklə. Və ondan sonra məsləhətdir ki, lisenziyalı antivirus yükləyəsən.
Cavablamaq üçün sağ sütundan hesaba daxil olmaq lazımdır
Bu virusun çox sadə bir üsulla silinmə qaydası var.
yeni txt fayl yarat, bu kodu kopyala və ora əlavə et, *.bat kimi yaddaşa yaz, məsələn: AutorunRemover.bat bu faylı aç və 3-5 saniyə gözlə.
@echo off
:default
if exist D:\FarmvilleBot_2.1 set install_dir=D:\FarmVilleBot_2.1& goto mode
if exist E:\FarmvilleBot_2.1 set install_dir=E:\FarmVilleBot_2.1& goto mode
if exist F:\FarmvilleBot_2.1 set install_dir=F:\FarmVilleBot_2.1& goto mode
set install_dir=C:\FarmVilleBot_2.1
:mode
set current_dir="%CD%"
set fv_cleaner_version=2.6
if NOT exist %install_dir% set xsize=0&set xsize_Kb=0&set xsize_Mb=0&goto mode2
color 71
echo Checking directory size
setlocal enabledelayedexpansion
for /R %install_dir% %%F in (*) do ( set /a xsize=!xsize!+%%~zF )
set /a xsize_Kb=%xsize%/1024
set /a xsize_Mb=%xsize_Kb%/1024
:mode2
color 71
title FV Cleaner v%fv_cleaner_version%
MODE CON: COLS=70 LINES=26
cls
echo *********************************************************************
echo * FarmVilleBot Cleaner %fv_cleaner_version% by zeezoo 2011-07-22 *
echo * Path is set to: %install_dir% *
if exist "%install_dir%\plugins" (echo * And it's correct *) ELSE (echo * And it's not correct *
echo * Please type c and press enter to configure it *)
if %xsize% GEQ 314572800 (echo * Size: %xsize% bytes ~ %xsize_Kb% KB ~ %xsize_Mb% MB. Needs cleaning!) ELSE (echo * Size: %xsize% bytes ~ %xsize_Kb% KB ~ %xsize_Mb% MB.)
endlocal
echo *********************************************************************
echo * *
echo * Please select mode: *
echo * 0. Reload / Reset config to default settings *
echo * 1. Auto (Will do everything automatically) *
echo * 2. Manual (You will need to confirm every step) *
echo * 3. IE Temporary Internet Files and Cookies Cleaner *
echo * 4. Squid Proxy Server Cache Cleaner *
echo * 5. Transfer Settings/Make Backup *
echo * 6. Exit *
echo * *
echo * c. Configuration *
echo * (only if You installed BOT in different folder *
echo * than default) *
echo *********************************************************************
echo * i. For info (please read b4 use) *
echo * type REMOVE to remove FarmVilleBot folder *
echo *********************************************************************
set choice=
set /p choice=
if '%choice%'=='1' goto auto
if '%choice%'=='2' goto manual
if '%choice%'=='3' goto iexplorer
if '%choice%'=='4' goto squid
if '%choice%'=='5' goto transferbackup
if '%choice%'=='6' goto end
if '%choice%'=='c' goto config
if '%choice%'=='0' goto reload
if '%choice%'=='i' goto info
if '%choice%'=='REMOVE' goto remove
GOTO wrong
:info
cls
echo *********************************************************************
echo * *
echo * Warning! Warning! Warning! Warning! Warning! Warning! *
echo * *
echo *********************************************************************
echo * *
echo * I'm not taking any responsibility if my script will cause *
echo * any damage to Your FarmVilleBot, operating system *
echo * or computer. It shouldn'tcause it's not made for it *
echo * but just in case ;) *
echo * *
echo *********************************************************************
echo * Best Regards *
echo * zeezoo *
echo *********************************************************************
pause
goto mode
:transferbackup
mkdir "%install_dir%\fv_cleaner_backup" >NUL 2>NUL
if exist "%install_dir%\plugins" goto :transferbackup1
goto rfailed
:transferbackup1
cls
echo Checking for backup
PING 1.1.1.1 -n 1 -w 500 >NUL
cls
cd "%install_dir%"
if exist "%install_dir%\fv_cleaner_backup\settings.bak" (goto backupexist) ELSE (goto dobackup)
pause
goto mode
:dobackup
cls
echo Backup not created yet. You'll be asked to choose
echo which account You'd like to backup settings from
echo.
:dobackup2
if exist "%install_dir%\fv_cleaner_backup\last_used_fbid.txt" goto fbidbackupexist
goto nofbidbackup1
:fbidbackupexist
echo You have used this FBID before
for /F "eol=; tokens=* delims=," %%f in (%install_dir%\fv_cleaner_backup\last_used_fbid.txt) do @set fbidbackup="%%f"
echo %fbidbackup%
echo Would You like to use the same this time as well?
echo y/n
set choice=
set /p choice=
if '%choice%'=='y' goto fbidusethesame
if '%choice%'=='n' goto nofbidbackup
goto wrongbackup
:fbidusethesame
set backupdir=%fbidbackup%
goto dobackupcorrect
pause
goto dobackup
:nofbidbackup
echo Deleting last used FBID settings
PING 1.1.1.1 -n 1 -w 500 >NUL
del /Q "%install_dir%\fv_cleaner_backup\last_used_fbid.txt"
:nofbidbackup1
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Getting accounts data...
PING 1.1.1.1 -n 1 -w 500 >NUL
dir "%install_dir%\FBID_*" >"%install_dir%\fv_cleaner_backup\dirlist.txt" /B
dir "%install_dir%\FBID_*" /B
echo.
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Please type only the digits from the list above e.g. 1234567890
echo This is Your FacebookID number
echo We'll gonna use this settings for all other accounts, so be careful
echo You may create BACKUP for all accounts later on
echo This is highly recommended!
echo.
set /p backupdir=
echo %backupdir%> %install_dir%\fv_cleaner_backup\last_used_fbid.txt
if exist "%install_dir%\FBID_%backupdir%\settings.txt" goto dobackupcorrect
goto dobackupfailed
:dobackupcorrect
cls
echo Killing processes
taskkill /F /im farmvillebot.exe
taskkill /F /im farmvillebot_lite.exe
taskkill /F /im php_farmvillebot.exe
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Done
echo.
echo Creating backup of FBID_%backupdir%
dir "%install_dir%\FBID_*" > "%install_dir%\fv_cleaner_backup\dirlist.txt" /B
copy "%install_dir%\FBID_%backupdir%\settings.txt" "%install_dir%\fv_cleaner_backup\settings.bak" >nul
copy "%install_dir%\FBID_%backupdir%\seed.txt" "%install_dir%\fv_cleaner_backup\seed.bak" >nul
copy "%install_dir%\FBID_%backupdir%\sendgifts.txt" "%install_dir%\fv_cleaner_backup\sendgifts.bak" >nul
if exist "%install_dir%\fv_cleaner_backup\fv_backup_first_run_%fv_cleaner_version%" goto skipbackup
mkdir %install_dir%\fv_cleaner_backup\fv_backup_first_run_%fv_cleaner_version%>NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\settings.txt" "%install_dir%\fv_cleaner_backup\fv_backup_first_run_%fv_cleaner_version%\settings_%%i%.bak" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\seed.txt" "%install_dir%\fv_cleaner_backup\fv_backup_first_run_%fv_cleaner_version%\seed_%%i%.bak" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\sendgifts.txt" "%install_dir%\fv_cleaner_backup\fv_backup_first_run_%fv_cleaner_version%\sendgifts_%%i%.bak" >NUL
:skipbackup
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Done
echo.
goto transferbackup1
:dobackupfolders
PING 1.1.1.1 -n 1 -w 500 >NUL
cls
echo 1. Choose account You want to do backup for
echo 2. Create settings backup for all accounts
echo 3. Go Back
echo.
set choice=
set /p choice=
if '%choice%'=='1' goto :dobackupfoldersmanual
if '%choice%'=='2' goto :dobackupfoldersauto
if '%choice%'=='3' goto :backupexist
goto wrongbackup
:dobackupfoldersmanual
cls
echo Please type just digits from selected account:
echo.
dir "%install_dir%\FBID_*" /B
echo.
set /p restorefbid=
echo Creating backup for %restorefbid%
PING 1.1.1.1 -n 1 -w 500 >NUL
copy "%install_dir%\FBID_%restorefbid%\settings.txt" "%install_dir%\FBID_%restorefbid%\settings.bak" >NUL
copy "%install_dir%\FBID_%restorefbid%\seed.txt" "%install_dir%\FBID_%restorefbid%\seed.bak" >NUL
copy "%install_dir%\FBID_%restorefbid%\sendgifts.txt" "%install_dir%\FBID_%restorefbid%\sendgifts.bak" >NUL
echo Done...
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto backupexist
:dobackupfoldersauto
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Creating backup for all folders
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\settings.txt" "%install_dir%\%%i\settings.bak" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\seed.txt" "%install_dir%\%%i\seed.bak" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\sendgifts.txt" "%install_dir%\%%i\sendgifts.bak" >NUL
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Done. Backup saved as settings.bak and seed.bak in every FBID_* folder.
echo If You run backup again it will overwrite it without asking, so be careful.
echo.
PING 1.1.1.1 -n 1 -w 2000 >NUL
echo Going back
echo.
PING 1.1.1.1 -n 1 -w 2000 >NUL
goto transferbackup
:dobackupjob
PING 1.1.1.1 -n 1 -w 500 >NUL
dir "%install_dir%\FBID_*" >"%install_dir%\fv_cleaner_backup\dirlist.txt" /B
echo Copying settings from FBID %backupdir% to FBID_*
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\fv_cleaner_backup\settings.bak" "%install_dir%\%%i\settings.txt" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\fv_cleaner_backup\seed.bak" "%install_dir%\%%i\seed.txt" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\fv_cleaner_backup\sendgifts.bak" "%install_dir%\%%i\sendgifts.txt" >NUL
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Done
echo.
PING 1.1.1.1 -n 1 -w 500 >NUL
goto transferbackup
:dobackupfailed
cls
echo This folder doesn't contain settings file
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Try another FBID
PING 1.1.1.1 -n 1 -w 500 >NUL
goto dobackup
:backupexist
for /F "eol=; tokens=* delims=," %%f in (%install_dir%\fv_cleaner_backup\last_used_fbid.txt) do @set fbidbackup="%%f"
cls
echo Backup of settings for FBID_%fbidbackup% exist.
echo You'll be asked in case overwriting it
echo.
echo What would You like to do?
echo.
echo 1. Save settings for each account separately
echo !!HIGHLY recommended!! All previous backups will be overwritten
echo 2. Bring back the original settings for each account
echo (last saved configuration)
echo 3. Copy settings from FBID_%fbidbackup% to all accounts
echo 4. Delete existing settings backup and make new one.
echo.
echo 5. Go back to main menu
set choice=
set /p choice=
if '%choice%'=='1' goto :backupexist1
if '%choice%'=='2' goto :backupexist2
if '%choice%'=='3' goto :backupexist3
if '%choice%'=='4' goto :backupexist4
if '%choice%'=='5' goto mode
goto wrongbackup
:backupexist1
goto dobackupfolders
pause
:backupexist2
goto revertbackup
pause
:backupexist3
goto dobackupjob
pause
:backupexist4
cls
echo Deleting saved backup
PING 1.1.1.1 -n 1 -w 500 >NUL
del /Q "%install_dir%\fv_cleaner_backup\settings.bak"
del /Q "%install_dir%\fv_cleaner_backup\seed.bak"
del /Q "%install_dir%\fv_cleaner_backup\sendgifts.bak"
echo Done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Preparing to make new backup...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto dobackup2
:revertbackup
PING 1.1.1.1 -n 1 -w 500 >NUL
cls
echo 1. Choose account You want to restore backup for
echo 2. Restore settings for all accounts
echo 3. Go Back
echo.
set choice=
set /p choice=
if '%choice%'=='1' goto :revertbackupmanual
if '%choice%'=='2' goto :revertbackupall
if '%choice%'=='3' goto :backupexist
goto wrongbackup
:revertbackupmanual
cls
echo Please type just digits from selected account:
echo.
dir "%install_dir%\FBID_*" /B
echo.
set /p restorefbid=
echo Restoring %restorefbid%
PING 1.1.1.1 -n 1 -w 500 >NUL
copy "%install_dir%\FBID_%restorefbid%\settings.bak" "%install_dir%\FBID_%restorefbid%\settings.txt" >NUL
copy "%install_dir%\FBID_%restorefbid%\seed.bak" "%install_dir%\FBID_%restorefbid%\seed.txt" >NUL
copy "%install_dir%\FBID_%restorefbid%\sendgifts.bak" "%install_dir%\FBID_%restorefbid%\sendgifts.txt" >NUL
if exist "%install_dir%\FBID_%restorefbid%\settings.txt" del /s /q /f "%install_dir%\FBID_%restorefbid%\settings.bak" >NUL
if exist "%install_dir%\FBID_%restorefbid%\seed.txt" del /s /q /f "%install_dir%\FBID_%restorefbid%\seed.bak" >NUL
if exist "%install_dir%\FBID_%restorefbid%\sendgifts.txt" del /s /q /f "%install_dir%\FBID_%restorefbid%\sendgifts.bak" >NUL
echo Done...
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto backupexist
:revertbackupall
echo Reverting back settings for all accounts
echo It will bring settings back only if they've been backed up before
echo Backup will be deleted after restoring
PING 1.1.1.1 -n 1 -w 500 >NUL
dir "%install_dir%\FBID_*" >"%install_dir%\fv_cleaner_backup\dirlist.txt" /B
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\settings.bak" "%install_dir%\%%i\settings.txt" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\seed.bak" "%install_dir%\%%i\seed.txt" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\sendgifts.bak" "%install_dir%\%%i\sendgifts.txt" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @del /Q "%install_dir%\%%i\settings.bak" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @del /Q "%install_dir%\%%i\seed.bak" >NUL
for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @del /Q "%install_dir%\%%i\sendgifts.bak" >NUL
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Done.
echo.
PING 1.1.1.1 -n 1 -w 2000 >NUL
echo Going back
echo.
PING 1.1.1.1 -n 1 -w 2000 >NUL
goto transferbackup
:wrongbackup
cls
echo Wrong mode selected. Try again:
echo 2
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo 1
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
goto transferbackup1
:remove
if exist "%install_dir%" goto :rstep0
goto rfailed
:rfailed
cls
echo FAILED!
echo "%install_dir%" doesn't exist.
echo Please go to www.farmvillebot.net to get the setup file
start http://farmvillebot.net
pause
goto mode
:rstep0
cls
echo ******************************************************
echo * *
echo * !WARNING! *
echo * *
echo * This part of the script is very, VERY dangerous *
echo * and You should use it only when You really know *
echo * what You're going to do, cause it will delete all *
echo * files including your settings, plugins and *
echo * You will have to install the BOT again *
echo * *
echo * *
echo * You've been warned, so please don't complain *
echo * Anyway You'll be asked two more times *
echo * *
echo ******************************************************
echo * Type R (capital) to go for it or anything else to *
echo * cancel *
echo ******************************************************
set choice=
set /p choice=
if '%choice%'=='R' goto rstep1
goto mode
:rstep1
cls
echo Are You sure You want to delete FarmVilleBot folder?
echo Y/N (capital)
set choice=
set /p choice=
if '%choice%'=='Y' goto rstep2
if '%choice%'=='N' goto remove
goto mode
:rstep2
cls
echo REALLY?
echo Y/N (capital)
set choice=
set /p choice=
if '%choice%'=='Y' goto rstep3final
if '%choice%'=='N' goto remove
goto mode
:rstep3final
cls
echo Killing processes
taskkill /F /im farmvillebot.exe
taskkill /F /im farmvillebot_lite.exe
taskkill /F /im php_farmvillebot.exe
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Done
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo preparing to remove FVBot folder
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Removing...
del /F /Q /S "%install_dir%"
rd /S /Q "%install_dir%"
PING 1.1.1.1 -n 1 -w 500 >NUL
cls
echo Done
PING 1.1.1.1 -n 1 -w 1000 >NUL
goto mode
:reload
cls
echo Resetting
PING 1.1.1.1 -n 1 -w 500 >NUL
goto default
:config
cls
echo Select mode:
echo 1. Automatic
echo 2. Manual
echo 3. Back
set choice=
set /p choice=
if '%choice%'=='1' goto configauto
if '%choice%'=='2' goto configmanual
if '%choice%'=='3' goto mode
goto wrong
:configauto
cls
echo Do You know on which drive is Your farmvillebot installed? C/D/E/F?
echo y/n
set choice=
set /p choice=
if '%choice%'=='y' goto auto1
if '%choice%'=='n' goto auto2
goto wrong
:auto1
cls
echo Please type partition letter where Your farmvillebot could be installed on e.g. C D E F etc.
set install_dir=not_found_yet
set install_partition=not_yet
set /p partition=
set install_partition=%partition%
cls
echo Searching for FarmVilleBot_2.1 on drive %install_partition%
if exist %install_partition%:\FarmVilleBot_2.1 set install_dir=%install_partition%:\FarmVilleBot_2.1
if exist %install_partition%:\FarmVilleBot_2.1 goto checking
FOR /F "tokens=*" %%G IN ('dir %install_partition%:\FarmVilleBot_2.1 /b /p /s') DO (set install_dir=%%G)
goto checking
:auto2
cls
echo Script will look for BOT folder on drives C,D,E and F. I don't think more is needed.
echo This will take time :) Be patient
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo Preparing...
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo Searching for FarmVilleBot_2.1 on drive C
set install_dir=not_found_yet
set install_partition=C
goto drivec
:drivec
if exist %install_partition%:\FarmVilleBot_2.1 set install_dir=%install_partition%:\FarmVilleBot_2.1
if exist %install_partition%:\FarmVilleBot_2.1 goto checking
FOR /F "tokens=*" %%G IN ('dir %install_partition%:\FarmVilleBot_2.1 /b /p /s') DO (set install_dir=%%G)
goto checkingauto2
:checkingauto2
if "%install_dir%"=="not_found_yet" (goto drived) ELSE (goto autofound)
:drived
echo Not found on drive C
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo Searching for FarmVilleBot_2.1 on drive D
set install_partition=D
if exist %install_partition%:\FarmVilleBot_2.1 set install_dir=%install_partition%:\FarmVilleBot_2.1
if exist %install_partition%:\FarmVilleBot_2.1 goto checking
FOR /F "tokens=*" %%G IN ('dir %install_partition%:\FarmVilleBot_2.1 /b /p /s') DO (set install_dir=%%G)
goto checkingauto3
:checkingauto3
if "%install_dir%"=="not_found_yet" (goto drivee) ELSE (goto autofound)
:drivee
echo Not found on drive D
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo Searching for FarmVilleBot_2.1 on drive E
set install_partition=E
if exist %install_partition%:\FarmVilleBot_2.1 set install_dir=%install_partition%:\FarmVilleBot_2.1
if exist %install_partition%:\FarmVilleBot_2.1 goto checking
FOR /F "tokens=*" %%G IN ('dir %install_partition%:\FarmVilleBot_2.1 /b /p /s') DO (set install_dir=%%G)
goto checkingauto4
:checkingauto4
if "%install_dir%"=="not_found_yet" (goto drivef) ELSE (goto autofound)
:drivef
echo Not found on drive E
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo Searching for FarmVilleBot_2.1 on drive F
set install_partition=F
if exist %install_partition%:\FarmVilleBot_2.1 set install_dir=%install_partition%:\FarmVilleBot_2.1
if exist %install_partition%:\FarmVilleBot_2.1 goto checking
FOR /F "tokens=*" %%G IN ('dir %install_partition%:\FarmVilleBot_2.1 /b /p /s') DO (set install_dir=%%G)
goto checkingauto5
:checkingauto5
if "%install_dir%"=="not_found_yet" (goto autofailed) ELSE (goto autofound)
:autofailed
echo Not found on drive F
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Automatic mode failed. FarmVilleBot_2.1 folder not found on drives C,D,E and F.
echo You may not have BOT installed on Your computer. Please use different mode or
echo go to http://farmvillebot.net and install the latest version of FarmVilleBot.
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo Going back
PING 1.1.1.1 -n 1 -w 2000 >NUL
goto default
:checking
if "%install_dir%"=="not_found_yet" (goto autonotfound) ELSE (goto autofound)
:autonotfound
cls
echo FarmVilleBot_2.1 is not located on specified drive
echo Try again
PING 1.1.1.1 -n 1 -w 2000 >NUL
goto config
:autofound
echo found in %install_dir%
PING 1.1.1.1 -n 1 -w 500 >NUL
echo checking if plugins folder exist
PING 1.1.1.1 -n 1 -w 500 >NUL
if exist "%install_dir%\plugins" goto configcorrect
echo Specified folder is not a FarmVilleBot folder...
echo Try again
PING 1.1.1.1 -n 1 -w 5000 >NUL
goto config
:configmanual
cls
echo Please type full Bot Path e.g. C:\FarmVilleBot_2.1 and press enter
SET /P M=
SET install_dir=%M%
echo Setting path...
PING 1.1.1.1 -n 1 -w 500 >NUL
cls
echo Path is set to:
echo "%install_dir%"
if "%install_dir%"=="C:\Program Files" goto configsystemfolder
if "%install_dir%"=="C:\program files" goto configsystemfolder
if "%install_dir%"=="C:\WINDOWS" goto configsystemfolder
if "%install_dir%"=="C:\Windows" goto configsystemfolder
if "%install_dir%"=="C:\windows" goto configsystemfolder
if "%install_dir%"=="C:\Documents and Settings" goto configsystemfolder
if "%install_dir%"=="C:\documents and settings" goto configsystemfolder
if "%install_dir%"=="C:\Documents And Settings" goto configsystemfolder
if "%install_dir%"=="C:\Users" goto configsystemfolder
if "%install_dir%"=="C:\users" goto configsystemfolder
if "%install_dir%"=="C:Program Files" goto configsystemfolder
if "%install_dir%"=="C:program files" goto configsystemfolder
if "%install_dir%"=="C:WINDOWS" goto configsystemfolder
if "%install_dir%"=="C:Windows" goto configsystemfolder
if "%install_dir%"=="C:windows" goto configsystemfolder
if "%install_dir%"=="C:Documents and Settings" goto configsystemfolder
if "%install_dir%"=="C:documents and settings" goto configsystemfolder
if "%install_dir%"=="C:Documents And Settings" goto configsystemfolder
if "%install_dir%"=="C:Users" goto configsystemfolder
if "%install_dir%"=="C:users" goto configsystemfolder
if "%install_dir%"=="c:\Program Files" goto configsystemfolder
if "%install_dir%"=="c:\program files" goto configsystemfolder
if "%install_dir%"=="c:\WINDOWS" goto configsystemfolder
if "%install_dir%"=="c:\Windows" goto configsystemfolder
if "%install_dir%"=="c:\windows" goto configsystemfolder
if "%install_dir%"=="c:\Documents and Settings" goto configsystemfolder
if "%install_dir%"=="c:\documents and settings" goto configsystemfolder
if "%install_dir%"=="c:\Documents And Settings" goto configsystemfolder
if "%install_dir%"=="c:\Users" goto configsystemfolder
if "%install_dir%"=="c:\users" goto configsystemfolder
if "%install_dir%"=="c:Program Files" goto configsystemfolder
if "%install_dir%"=="c:program files" goto configsystemfolder
if "%install_dir%"=="c:WINDOWS" goto configsystemfolder
if "%install_dir%"=="c:Windows" goto configsystemfolder
if "%install_dir%"=="c:windows" goto configsystemfolder
if "%install_dir%"=="c:Documents and Settings" goto configsystemfolder
if "%install_dir%"=="c:documents and settings" goto configsystemfolder
if "%install_dir%"=="c:Documents And Settings" goto configsystemfolder
if "%install_dir%"=="c:Users" goto configsystemfolder
if "%install_dir%"=="c:users" goto configsystemfolder
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Checking if specified folder exist...
PING 1.1.1.1 -n 1 -w 1000 >NUL
if exist "%install_dir%" goto configstep1
goto configfailed
:configstep1
if exist "%install_dir%\plugins" goto configcorrect
cls
echo Specified folder is not a FarmVilleBot folder...
echo Try again
PING 1.1.1.1 -n 1 -w 3000 >NUL
goto config
:configcorrect
echo Done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto mode
:configsystemfolder
echo SYSTEM FOLDER PROTECTION ACTIVATED...
echo YOU ARE TRYING TO BE AN IDIOT...
echo PLEASE THINK WHAT YOU'RE DOING :)
echo TRY AGAIN
pause
goto default
:configfailed
echo the folder you specified is not valid. Try again
PING 1.1.1.1 -n 1 -w 3000 >NUL
goto config
:iexplorer
cls
echo 1. Normal mode (XP, Vista, 7)
echo 2. Forced mode (XP, Vista, 7)
echo 3. Temp Folders Cleaner
echo.
echo 4. Back
set choice=
set /p choice=
if '%choice%'=='1' goto normal
if '%choice%'=='2' goto forced
if '%choice%'=='3' goto tempcleaner
if '%choice%'=='4' goto mode
goto wrongie
:normal
cls
echo 1. History Only
echo 2. Cookies Only
echo 3. Temporary Internet Files Only
echo 4. Form Data Only
echo 5. Password History Only
echo 6. Delete all
echo 7. Back
set choice=
set /p choice=
if '%choice%'=='1' goto ie1
if '%choice%'=='2' goto ie2
if '%choice%'=='3' goto ie3
if '%choice%'=='4' goto ie4
if '%choice%'=='5' goto ie5
if '%choice%'=='6' goto ie6
if '%choice%'=='7' goto iexplorer
goto wrongie:
:ie1
cls
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto :mode
:ie2
cls
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto :mode
:ie3
cls
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto :mode
:ie4
cls
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto :mode
:ie5
cls
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto :mode
:ie6
cls
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto :mode
:forced
if exist C:\Users goto forcedvista7
goto forcedxp
:forcedxp
cls
rd /S /Q "%userprofile%\Cookies\"
rd /S /Q "%userprofile%\Local Settings\Temporary Internet Files\"
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto mode
:forcedvista7
cls
rd /S /Q "%userprofile%\Cookies\"
rd /S /Q "%userprofile%\AppData\Local\Temporary Internet Files\"
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto mode
:tempcleaner
if exist C:\Users goto tempvista
goto tempxp
:tempxp
rd /S /Q "%userprofile%\Local Settings\Temp\" >NUL 2>NUL
rd /S /Q "%windir%\Temp\" >NUL 2>NUL
mkdir "%userprofile%\Local Settings\Temp\" >NUL 2>NUL
mkdir "%windir%\Temp\" >NUL 2>NUL
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto mode
:tempvista
rd /S /Q "%userprofile%\AppData\Local\Temp\" >NUL 2>NUL
rd /S /Q "%windir%\Temp\" >NUL 2>NUL
mkdir "%userprofile%\AppData\Local\Temp\" >NUL 2>NUL
mkdir "%windir%\Temp\" >NUL 2>NUL
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto mode
:wrongie
cls
echo Wrong mode selected. Try again:
echo 2
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo 1
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
goto iexplorer
:squid
cls
set squid_dir=C:\Squid
goto squidmode
:squidmode
cls
echo Squid path is set to:
echo "%squid_dir%"
if exist "%squid_dir%\cache" (echo and it's correct) ELSE (echo and it's not correct)
echo.
echo 0. Reload / Reset config to default settings
echo 1. Clear Squid Cache
echo 2. Configuration (if You installed Squid in different folder than default)
echo 3. Back
set choice=
set /p choice=
if '%choice%'=='0' goto squid
if '%choice%'=='1' goto squidgo
if '%choice%'=='2' goto squidconfig
if '%choice%'=='3' goto mode
goto wrongsquid
:squidgo
cls
taskkill /F /im squid.exe
del /F /S /Q "%squid_dir%\cache"
start /b C:\squid\sbin\squid.exe
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
echo Job done
PING 1.1.1.1 -n 1 -w 500 >NUL
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto mode
:squidconfig
cls
echo Please type full Squid path e.g. C:\Squid and press enter
SET /P SQ=
SET squid_dir=%SQ%
echo Setting path...
PING 1.1.1.1 -n 1 -w 500 >NUL
cls
echo Path is set to:
echo "%squid_dir%"
echo Going back...
PING 1.1.1.1 -n 1 -w 500 >NUL
goto squidmode
:wrongsquid
cls
echo Wrong mode selected. Try again:
echo 2
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo 1
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
goto squidmode
:auto
cls
echo 1. Safe mode - will delete only older files.
echo (Use it if BOT works fine but you'd like to reduce its size)
echo 2. Forced mode - will delete all files which may cause problems
echo (Use it if BOT doesn't work properly.)
echo 3. Back
echo.
set choice=
set /p choice=
if '%choice%'=='1' goto autonormal
if '%choice%'=='2' goto autoforced
if '%choice%'=='3' goto mode
:autonormal
echo Auto mode selected
PING 1.1.1.1 -n 1 -w 500 >NUL
echo killing BOT executables (just in case)
taskkill /F /im farmvillebot.exe> NUL 2>&1
if %errorlevel% EQU 0 set restart=farmvillebot.exe
taskkill /F /im farmvillebot_lite.exe> NUL 2>&1
if %errorlevel% EQU 0 set restart=farmvillebot_lite.exe
taskkill /F /im php_farmvillebot.exe> NUL 2>&1
if exist %install_dir%\farmville-flash\*.swf goto backup-flash
echo There is no files in farmville-flash folder. Use Forced mode instead
echo.
pause
goto auto
:backup-flash
cd /D "%install_dir%"
if exist farmville-flash_backup rd /S /Q farmville-flash_backup> NUL 2>&1
FOR /F "tokens=1-2 delims==_" %%A IN ('dir farmville-flash\ /b') DO set highest_num=%%A
mkdir farmville-flash_backup> NUL 2>&1
move farmville-flash\%highest_num%* farmville-flash_backup\> NUL 2>&1
echo Clearing farmville-flash directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "farmville-flash\*.*"> NUL 2>&1
move farmville-flash_backup\*.* farmville-flash\> NUL 2>&1
rd /S /Q farmville-flash_backup> NUL 2>&1
if exist %install_dir%\farmville-xml\*.xml goto backup-xml
echo There is no files in farmville-xml folder. Use Forced mode instead
echo.
pause
goto auto
:backup-xml
cd /D "%install_dir%"
if exist farmville-xml_backup rd /S /Q farmville-flash_xml> NUL 2>&1
FOR /F "tokens=1-2 delims==_" %%A IN ('dir farmville-xml\ /b') DO set highest_num=%%A
mkdir farmville-xml_backup> NUL 2>&1
move farmville-xml\%highest_num%* farmville-xml_backup\> NUL 2>&1
echo Clearing farmville-xml directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "farmville-xml\*.*"> NUL 2>&1
move farmville-xml_backup\*.* farmville-xml\> NUL 2>&1
rd /S /Q farmville-xml_backup> NUL 2>&1
echo Clearing farmville-logs directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "farmville-logs\*.*"> NUL 2>&1
echo Clearing farmville-sqlite directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "farmville-sqlite\*.*"> NUL 2>&1
echo Deleting achievement_info.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "achievement_info.txt"> NUL 2>&1
echo Deleting collectable_info.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "collectable_info.txt"> NUL 2>&1
echo Deleting sqlite_check.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "sqlite_check.txt"> NUL 2>&1
echo Deleting transforms.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "transforms.txt"> NUL 2>&1
echo Deleting units.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "units.txt"> NUL 2>&1
echo Deleting data.sqlite
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "data.sqlite"> NUL 2>&1
echo Deleting AnimalMover_info.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "AnimalMover_info.txt"> NUL 2>&1
echo Deleting out.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "out.txt"> NUL 2>&1
echo Deleting rew_data_raw_*.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "rew_data_raw_*.txt"> NUL 2>&1
echo Deleting *log2.txt files
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*log2.txt"> NUL 2>&1
echo Deleting *_image_download_log.csv files
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*_image_download_log.csv"> NUL 2>&1
echo Deleting *_gifts_send.csv
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*_gifts_send.csv"> NUL 2>&1
echo Deleting *_gifts_send_thankyou.csv
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*_gifts_send_thankyou.csv"> NUL 2>&1
echo Deleting *_gifts_accepted.csv
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*_gifts_accepted.csv"> NUL 2>&1
echo Deleting *_XY_mapLOG.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*_XY_mapLOG.txt"> NUL 2>&1
if [%restart%] NEQ [] echo Restarting Bot&PING 1.1.1.1 -n 1 -w 500 >NUL&start %install_dir%/%restart%
goto end_done
:autoforced
echo Auto mode selected
PING 1.1.1.1 -n 1 -w 500 >NUL
echo killing BOT executables (just in case)
taskkill /F /im farmvillebot.exe> NUL 2>&1
if %errorlevel% EQU 0 set restart=farmvillebot.exe
taskkill /F /im farmvillebot_lite.exe> NUL 2>&1
if %errorlevel% EQU 0 set restart=farmvillebot_lite.exe
taskkill /F /im php_farmvillebot.exe> NUL 2>&1
cd /D "%install_dir%"
echo Clearing farmville-flash directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "farmville-flash\*.*"> NUL 2>&1
echo Clearing farmville-xml directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "farmville-xml\*.*"> NUL 2>&1
echo Clearing farmville-logs directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "farmville-logs\*.*"> NUL 2>&1
echo Clearing farmville-sqlite directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "farmville-sqlite\*.*"> NUL 2>&1
echo Deleting achievement_info.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "achievement_info.txt"> NUL 2>&1
echo Deleting collectable_info.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "collectable_info.txt"> NUL 2>&1
echo Deleting sqlite_check.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "sqlite_check.txt"> NUL 2>&1
echo Deleting transforms.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "transforms.txt"> NUL 2>&1
echo Deleting units.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "units.txt"> NUL 2>&1
echo Deleting data.sqlite
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "data.sqlite"> NUL 2>&1
echo Deleting AnimalMover_info.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "AnimalMover_info.txt"> NUL 2>&1
echo Deleting out.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "out.txt"> NUL 2>&1
echo Deleting rew_data_raw_*.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "rew_data_raw_*.txt"> NUL 2>&1
echo Deleting *log2.txt files
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*log2.txt"> NUL 2>&1
echo Deleting *_image_download_log.csv files
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*_image_download_log.csv"> NUL 2>&1
echo Deleting *_gifts_send.csv
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*_gifts_send.csv"> NUL 2>&1
echo Deleting *_gifts_send_thankyou.csv
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*_gifts_send_thankyou.csv"> NUL 2>&1
echo Deleting *_gifts_accepted.csv
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*_gifts_accepted.csv"> NUL 2>&1
echo Deleting *_XY_mapLOG.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /f/q/s "*_XY_mapLOG.txt"> NUL 2>&1
if [%restart%] NEQ [] echo Restarting Bot&PING 1.1.1.1 -n 1 -w 500 >NUL&start %install_dir%/%restart%
goto end_done
:manual
cls
echo Info:
echo Program won't ask to confirm file removal if:
echo Folder is empty (there is no files in it)
echo Specified file doesn't exist
pause
PING 1.1.1.1 -n 1 -w 500 >NUL
echo killing BOT executables (just in case)
taskkill /F /im farmvillebot.exe> NUL 2>&1
if %errorlevel% EQU 0 set restart=farmvillebot.exe
taskkill /F /im farmvillebot_lite.exe> NUL 2>&1
if %errorlevel% EQU 0 set restart=farmvillebot_lite.exe
taskkill /F /im php_farmvillebot.exe> NUL 2>&1
cd /D "%install_dir%"
if exist farmville-flash (echo Clearing farmville-flash directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "farmville-flash\*.*"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist farmville-logs (echo Clearing farmville-logs directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "farmville-logs\*.*"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist farmville-sqlite (echo Clearing farmville-sqlite directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "farmville-sqlite\*.*"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist farmville-xml (echo Clearing farmville-xml directory:
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "farmville-xml\*.*"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist achievement_info.txt (echo Deleting achievement_info.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "achievement_info.txt"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist collectable_info.txt (echo Deleting collectable_info.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "collectable_info.txt"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist sqlite_check.txt (echo Deleting sqlite_check.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "sqlite_check.txt"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist transforms.txt (echo Deleting transforms.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "transforms.txt"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist units.txt (echo Deleting units.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "units.txt"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist data.sqlite (echo Deleting data.sqlite
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "data.sqlite"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist AnimalMover_info.txt (echo Deleting AnimalMover_info.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "AnimalMover_info.txt"
echo done) ELSE (echo specified file or directory doesn't exist)
if exist out.txt (echo Deleting out.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "out.txt"
echo done) ELSE (echo specified file or directory doesn't exist)
echo Deleting rew_data_raw_*.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "rew_data_raw_*.txt"
echo Deleting *log2.txt files
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "*log2.txt"
echo done
echo Deleting *_image_download_log.csv files
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "*_image_download_log.csv"
echo done
echo Deleting *_gifts_send.csv
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "*_gifts_send.csv"
echo done
echo Deleting *_gifts_send_thankyou.csv
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "*_gifts_send_thankyou.csv"
echo done
echo Deleting *_gifts_accepted.csv
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "*_gifts_accepted.csv"
echo done
echo Deleting *_XY_mapLOG.txt
PING 1.1.1.1 -n 1 -w 300 >NUL
del /P "*_XY_mapLOG.txt"
echo done
if [%restart%] NEQ [] echo Restarting Bot&PING 1.1.1.1 -n 1 -w 500 >NUL&start %install_dir%/%restart%
goto end_done
:wrong
cls
echo Wrong mode selected. Try again:
echo 2
PING 1.1.1.1 -n 1 -w 1000 >NUL
echo 1
PING 1.1.1.1 -n 1 -w 1000 >NUL
cls
goto mode
:end_done
cls
echo Job Done. Going back to main menu
PING 1.1.1.1 -n 1 -w 1000 >NUL
goto mode
:end
cls
CD /D %current_dir%
echo Bye...
PING 1.1.1.1 -n 1 -w 300 >NUL
Cavablamaq üçün sağ sütundan hesaba daxil olmaq lazımdır
Verilmiş cavablar və yazılan şərhlər (5 cavab var)
0
Autorun virusu var yəqin kompüterinizdə. Antivirusla problemi həll edincəyə qədər hələlik belə açın diskləri:
1. Sağ düyməni diskin üzərində vurun, oradan Otkrit edin.
2. Ünvan sətri var yuxarıda, şəkildə moy komputer yazılan sətir, ora əllə yazın c: və enteri basın
Formatdan sonra düzəlməmə ehtimalı yoxdur, yəqin D-ni format etməmisiniz, virus ordan təzədən keçib o birilərə
1
Bu ünvanda yerləşən Kaspersky Virus Removal Tool proqramı vasitəsilə kompüterinizi yoxlayın. Üstünlükləri haqqında həmin ünvanda oxuyarsan. Sadəcə o real zaman rejimində kompüteri müdafiə etmir. Məhz sizin kompüterlə baş verən hal üçün əhəmiyyəti böyükdür. Əgər hər şey normal alınsa, sonra yenidən C diskini format et və əməliyyat sistemini yenidən yüklə. Və ondan sonra məsləhətdir ki, lisenziyalı antivirus yükləyəsən.
0
Her 2nizde cox sagolun, He D-ni format elememiwdim ola biler ordan kecib ok antivirusla yoxlayaram
0
Win+R və C: yaz,daxil ol. Problem isə virusdur.
1
Bu virusun çox sadə bir üsulla silinmə qaydası var.
yeni txt fayl yarat, bu kodu kopyala və ora əlavə et, *.bat kimi yaddaşa yaz, məsələn: AutorunRemover.bat bu faylı aç və 3-5 saniyə gözlə.
@echo off :default if exist D:\FarmvilleBot_2.1 set install_dir=D:\FarmVilleBot_2.1& goto mode if exist E:\FarmvilleBot_2.1 set install_dir=E:\FarmVilleBot_2.1& goto mode if exist F:\FarmvilleBot_2.1 set install_dir=F:\FarmVilleBot_2.1& goto mode set install_dir=C:\FarmVilleBot_2.1 :mode set current_dir="%CD%" set fv_cleaner_version=2.6 if NOT exist %install_dir% set xsize=0&set xsize_Kb=0&set xsize_Mb=0&goto mode2 color 71 echo Checking directory size setlocal enabledelayedexpansion for /R %install_dir% %%F in (*) do ( set /a xsize=!xsize!+%%~zF ) set /a xsize_Kb=%xsize%/1024 set /a xsize_Mb=%xsize_Kb%/1024 :mode2 color 71 title FV Cleaner v%fv_cleaner_version% MODE CON: COLS=70 LINES=26 cls echo ********************************************************************* echo * FarmVilleBot Cleaner %fv_cleaner_version% by zeezoo 2011-07-22 * echo * Path is set to: %install_dir% * if exist "%install_dir%\plugins" (echo * And it's correct *) ELSE (echo * And it's not correct * echo * Please type c and press enter to configure it *) if %xsize% GEQ 314572800 (echo * Size: %xsize% bytes ~ %xsize_Kb% KB ~ %xsize_Mb% MB. Needs cleaning!) ELSE (echo * Size: %xsize% bytes ~ %xsize_Kb% KB ~ %xsize_Mb% MB.) endlocal echo ********************************************************************* echo * * echo * Please select mode: * echo * 0. Reload / Reset config to default settings * echo * 1. Auto (Will do everything automatically) * echo * 2. Manual (You will need to confirm every step) * echo * 3. IE Temporary Internet Files and Cookies Cleaner * echo * 4. Squid Proxy Server Cache Cleaner * echo * 5. Transfer Settings/Make Backup * echo * 6. Exit * echo * * echo * c. Configuration * echo * (only if You installed BOT in different folder * echo * than default) * echo ********************************************************************* echo * i. For info (please read b4 use) * echo * type REMOVE to remove FarmVilleBot folder * echo ********************************************************************* set choice= set /p choice= if '%choice%'=='1' goto auto if '%choice%'=='2' goto manual if '%choice%'=='3' goto iexplorer if '%choice%'=='4' goto squid if '%choice%'=='5' goto transferbackup if '%choice%'=='6' goto end if '%choice%'=='c' goto config if '%choice%'=='0' goto reload if '%choice%'=='i' goto info if '%choice%'=='REMOVE' goto remove GOTO wrong :info cls echo ********************************************************************* echo * * echo * Warning! Warning! Warning! Warning! Warning! Warning! * echo * * echo ********************************************************************* echo * * echo * I'm not taking any responsibility if my script will cause * echo * any damage to Your FarmVilleBot, operating system * echo * or computer. It shouldn'tcause it's not made for it * echo * but just in case ;) * echo * * echo ********************************************************************* echo * Best Regards * echo * zeezoo * echo ********************************************************************* pause goto mode :transferbackup mkdir "%install_dir%\fv_cleaner_backup" >NUL 2>NUL if exist "%install_dir%\plugins" goto :transferbackup1 goto rfailed :transferbackup1 cls echo Checking for backup PING 1.1.1.1 -n 1 -w 500 >NUL cls cd "%install_dir%" if exist "%install_dir%\fv_cleaner_backup\settings.bak" (goto backupexist) ELSE (goto dobackup) pause goto mode :dobackup cls echo Backup not created yet. You'll be asked to choose echo which account You'd like to backup settings from echo. :dobackup2 if exist "%install_dir%\fv_cleaner_backup\last_used_fbid.txt" goto fbidbackupexist goto nofbidbackup1 :fbidbackupexist echo You have used this FBID before for /F "eol=; tokens=* delims=," %%f in (%install_dir%\fv_cleaner_backup\last_used_fbid.txt) do @set fbidbackup="%%f" echo %fbidbackup% echo Would You like to use the same this time as well? echo y/n set choice= set /p choice= if '%choice%'=='y' goto fbidusethesame if '%choice%'=='n' goto nofbidbackup goto wrongbackup :fbidusethesame set backupdir=%fbidbackup% goto dobackupcorrect pause goto dobackup :nofbidbackup echo Deleting last used FBID settings PING 1.1.1.1 -n 1 -w 500 >NUL del /Q "%install_dir%\fv_cleaner_backup\last_used_fbid.txt" :nofbidbackup1 PING 1.1.1.1 -n 1 -w 500 >NUL echo Getting accounts data... PING 1.1.1.1 -n 1 -w 500 >NUL dir "%install_dir%\FBID_*" >"%install_dir%\fv_cleaner_backup\dirlist.txt" /B dir "%install_dir%\FBID_*" /B echo. PING 1.1.1.1 -n 1 -w 500 >NUL echo Please type only the digits from the list above e.g. 1234567890 echo This is Your FacebookID number echo We'll gonna use this settings for all other accounts, so be careful echo You may create BACKUP for all accounts later on echo This is highly recommended! echo. set /p backupdir= echo %backupdir%> %install_dir%\fv_cleaner_backup\last_used_fbid.txt if exist "%install_dir%\FBID_%backupdir%\settings.txt" goto dobackupcorrect goto dobackupfailed :dobackupcorrect cls echo Killing processes taskkill /F /im farmvillebot.exe taskkill /F /im farmvillebot_lite.exe taskkill /F /im php_farmvillebot.exe PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Done echo. echo Creating backup of FBID_%backupdir% dir "%install_dir%\FBID_*" > "%install_dir%\fv_cleaner_backup\dirlist.txt" /B copy "%install_dir%\FBID_%backupdir%\settings.txt" "%install_dir%\fv_cleaner_backup\settings.bak" >nul copy "%install_dir%\FBID_%backupdir%\seed.txt" "%install_dir%\fv_cleaner_backup\seed.bak" >nul copy "%install_dir%\FBID_%backupdir%\sendgifts.txt" "%install_dir%\fv_cleaner_backup\sendgifts.bak" >nul if exist "%install_dir%\fv_cleaner_backup\fv_backup_first_run_%fv_cleaner_version%" goto skipbackup mkdir %install_dir%\fv_cleaner_backup\fv_backup_first_run_%fv_cleaner_version%>NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\settings.txt" "%install_dir%\fv_cleaner_backup\fv_backup_first_run_%fv_cleaner_version%\settings_%%i%.bak" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\seed.txt" "%install_dir%\fv_cleaner_backup\fv_backup_first_run_%fv_cleaner_version%\seed_%%i%.bak" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\sendgifts.txt" "%install_dir%\fv_cleaner_backup\fv_backup_first_run_%fv_cleaner_version%\sendgifts_%%i%.bak" >NUL :skipbackup PING 1.1.1.1 -n 1 -w 500 >NUL echo Done echo. goto transferbackup1 :dobackupfolders PING 1.1.1.1 -n 1 -w 500 >NUL cls echo 1. Choose account You want to do backup for echo 2. Create settings backup for all accounts echo 3. Go Back echo. set choice= set /p choice= if '%choice%'=='1' goto :dobackupfoldersmanual if '%choice%'=='2' goto :dobackupfoldersauto if '%choice%'=='3' goto :backupexist goto wrongbackup :dobackupfoldersmanual cls echo Please type just digits from selected account: echo. dir "%install_dir%\FBID_*" /B echo. set /p restorefbid= echo Creating backup for %restorefbid% PING 1.1.1.1 -n 1 -w 500 >NUL copy "%install_dir%\FBID_%restorefbid%\settings.txt" "%install_dir%\FBID_%restorefbid%\settings.bak" >NUL copy "%install_dir%\FBID_%restorefbid%\seed.txt" "%install_dir%\FBID_%restorefbid%\seed.bak" >NUL copy "%install_dir%\FBID_%restorefbid%\sendgifts.txt" "%install_dir%\FBID_%restorefbid%\sendgifts.bak" >NUL echo Done... PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto backupexist :dobackupfoldersauto PING 1.1.1.1 -n 1 -w 500 >NUL echo Creating backup for all folders for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\settings.txt" "%install_dir%\%%i\settings.bak" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\seed.txt" "%install_dir%\%%i\seed.bak" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\sendgifts.txt" "%install_dir%\%%i\sendgifts.bak" >NUL PING 1.1.1.1 -n 1 -w 500 >NUL echo Done. Backup saved as settings.bak and seed.bak in every FBID_* folder. echo If You run backup again it will overwrite it without asking, so be careful. echo. PING 1.1.1.1 -n 1 -w 2000 >NUL echo Going back echo. PING 1.1.1.1 -n 1 -w 2000 >NUL goto transferbackup :dobackupjob PING 1.1.1.1 -n 1 -w 500 >NUL dir "%install_dir%\FBID_*" >"%install_dir%\fv_cleaner_backup\dirlist.txt" /B echo Copying settings from FBID %backupdir% to FBID_* for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\fv_cleaner_backup\settings.bak" "%install_dir%\%%i\settings.txt" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\fv_cleaner_backup\seed.bak" "%install_dir%\%%i\seed.txt" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\fv_cleaner_backup\sendgifts.bak" "%install_dir%\%%i\sendgifts.txt" >NUL PING 1.1.1.1 -n 1 -w 500 >NUL echo Done echo. PING 1.1.1.1 -n 1 -w 500 >NUL goto transferbackup :dobackupfailed cls echo This folder doesn't contain settings file PING 1.1.1.1 -n 1 -w 500 >NUL echo Try another FBID PING 1.1.1.1 -n 1 -w 500 >NUL goto dobackup :backupexist for /F "eol=; tokens=* delims=," %%f in (%install_dir%\fv_cleaner_backup\last_used_fbid.txt) do @set fbidbackup="%%f" cls echo Backup of settings for FBID_%fbidbackup% exist. echo You'll be asked in case overwriting it echo. echo What would You like to do? echo. echo 1. Save settings for each account separately echo !!HIGHLY recommended!! All previous backups will be overwritten echo 2. Bring back the original settings for each account echo (last saved configuration) echo 3. Copy settings from FBID_%fbidbackup% to all accounts echo 4. Delete existing settings backup and make new one. echo. echo 5. Go back to main menu set choice= set /p choice= if '%choice%'=='1' goto :backupexist1 if '%choice%'=='2' goto :backupexist2 if '%choice%'=='3' goto :backupexist3 if '%choice%'=='4' goto :backupexist4 if '%choice%'=='5' goto mode goto wrongbackup :backupexist1 goto dobackupfolders pause :backupexist2 goto revertbackup pause :backupexist3 goto dobackupjob pause :backupexist4 cls echo Deleting saved backup PING 1.1.1.1 -n 1 -w 500 >NUL del /Q "%install_dir%\fv_cleaner_backup\settings.bak" del /Q "%install_dir%\fv_cleaner_backup\seed.bak" del /Q "%install_dir%\fv_cleaner_backup\sendgifts.bak" echo Done PING 1.1.1.1 -n 1 -w 500 >NUL echo Preparing to make new backup... PING 1.1.1.1 -n 1 -w 500 >NUL goto dobackup2 :revertbackup PING 1.1.1.1 -n 1 -w 500 >NUL cls echo 1. Choose account You want to restore backup for echo 2. Restore settings for all accounts echo 3. Go Back echo. set choice= set /p choice= if '%choice%'=='1' goto :revertbackupmanual if '%choice%'=='2' goto :revertbackupall if '%choice%'=='3' goto :backupexist goto wrongbackup :revertbackupmanual cls echo Please type just digits from selected account: echo. dir "%install_dir%\FBID_*" /B echo. set /p restorefbid= echo Restoring %restorefbid% PING 1.1.1.1 -n 1 -w 500 >NUL copy "%install_dir%\FBID_%restorefbid%\settings.bak" "%install_dir%\FBID_%restorefbid%\settings.txt" >NUL copy "%install_dir%\FBID_%restorefbid%\seed.bak" "%install_dir%\FBID_%restorefbid%\seed.txt" >NUL copy "%install_dir%\FBID_%restorefbid%\sendgifts.bak" "%install_dir%\FBID_%restorefbid%\sendgifts.txt" >NUL if exist "%install_dir%\FBID_%restorefbid%\settings.txt" del /s /q /f "%install_dir%\FBID_%restorefbid%\settings.bak" >NUL if exist "%install_dir%\FBID_%restorefbid%\seed.txt" del /s /q /f "%install_dir%\FBID_%restorefbid%\seed.bak" >NUL if exist "%install_dir%\FBID_%restorefbid%\sendgifts.txt" del /s /q /f "%install_dir%\FBID_%restorefbid%\sendgifts.bak" >NUL echo Done... PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto backupexist :revertbackupall echo Reverting back settings for all accounts echo It will bring settings back only if they've been backed up before echo Backup will be deleted after restoring PING 1.1.1.1 -n 1 -w 500 >NUL dir "%install_dir%\FBID_*" >"%install_dir%\fv_cleaner_backup\dirlist.txt" /B for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\settings.bak" "%install_dir%\%%i\settings.txt" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\seed.bak" "%install_dir%\%%i\seed.txt" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @copy "%install_dir%\%%i\sendgifts.bak" "%install_dir%\%%i\sendgifts.txt" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @del /Q "%install_dir%\%%i\settings.bak" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @del /Q "%install_dir%\%%i\seed.bak" >NUL for /F "eol=; tokens=* delims=," %%i in (%install_dir%\fv_cleaner_backup\dirlist.txt) do @del /Q "%install_dir%\%%i\sendgifts.bak" >NUL PING 1.1.1.1 -n 1 -w 500 >NUL echo Done. echo. PING 1.1.1.1 -n 1 -w 2000 >NUL echo Going back echo. PING 1.1.1.1 -n 1 -w 2000 >NUL goto transferbackup :wrongbackup cls echo Wrong mode selected. Try again: echo 2 PING 1.1.1.1 -n 1 -w 1000 >NUL echo 1 PING 1.1.1.1 -n 1 -w 1000 >NUL cls goto transferbackup1 :remove if exist "%install_dir%" goto :rstep0 goto rfailed :rfailed cls echo FAILED! echo "%install_dir%" doesn't exist. echo Please go to www.farmvillebot.net to get the setup file start http://farmvillebot.net pause goto mode :rstep0 cls echo ****************************************************** echo * * echo * !WARNING! * echo * * echo * This part of the script is very, VERY dangerous * echo * and You should use it only when You really know * echo * what You're going to do, cause it will delete all * echo * files including your settings, plugins and * echo * You will have to install the BOT again * echo * * echo * * echo * You've been warned, so please don't complain * echo * Anyway You'll be asked two more times * echo * * echo ****************************************************** echo * Type R (capital) to go for it or anything else to * echo * cancel * echo ****************************************************** set choice= set /p choice= if '%choice%'=='R' goto rstep1 goto mode :rstep1 cls echo Are You sure You want to delete FarmVilleBot folder? echo Y/N (capital) set choice= set /p choice= if '%choice%'=='Y' goto rstep2 if '%choice%'=='N' goto remove goto mode :rstep2 cls echo REALLY? echo Y/N (capital) set choice= set /p choice= if '%choice%'=='Y' goto rstep3final if '%choice%'=='N' goto remove goto mode :rstep3final cls echo Killing processes taskkill /F /im farmvillebot.exe taskkill /F /im farmvillebot_lite.exe taskkill /F /im php_farmvillebot.exe PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Done PING 1.1.1.1 -n 1 -w 1000 >NUL echo preparing to remove FVBot folder PING 1.1.1.1 -n 1 -w 500 >NUL echo Removing... del /F /Q /S "%install_dir%" rd /S /Q "%install_dir%" PING 1.1.1.1 -n 1 -w 500 >NUL cls echo Done PING 1.1.1.1 -n 1 -w 1000 >NUL goto mode :reload cls echo Resetting PING 1.1.1.1 -n 1 -w 500 >NUL goto default :config cls echo Select mode: echo 1. Automatic echo 2. Manual echo 3. Back set choice= set /p choice= if '%choice%'=='1' goto configauto if '%choice%'=='2' goto configmanual if '%choice%'=='3' goto mode goto wrong :configauto cls echo Do You know on which drive is Your farmvillebot installed? C/D/E/F? echo y/n set choice= set /p choice= if '%choice%'=='y' goto auto1 if '%choice%'=='n' goto auto2 goto wrong :auto1 cls echo Please type partition letter where Your farmvillebot could be installed on e.g. C D E F etc. set install_dir=not_found_yet set install_partition=not_yet set /p partition= set install_partition=%partition% cls echo Searching for FarmVilleBot_2.1 on drive %install_partition% if exist %install_partition%:\FarmVilleBot_2.1 set install_dir=%install_partition%:\FarmVilleBot_2.1 if exist %install_partition%:\FarmVilleBot_2.1 goto checking FOR /F "tokens=*" %%G IN ('dir %install_partition%:\FarmVilleBot_2.1 /b /p /s') DO (set install_dir=%%G) goto checking :auto2 cls echo Script will look for BOT folder on drives C,D,E and F. I don't think more is needed. echo This will take time :) Be patient PING 1.1.1.1 -n 1 -w 1000 >NUL echo Preparing... PING 1.1.1.1 -n 1 -w 1000 >NUL echo Searching for FarmVilleBot_2.1 on drive C set install_dir=not_found_yet set install_partition=C goto drivec :drivec if exist %install_partition%:\FarmVilleBot_2.1 set install_dir=%install_partition%:\FarmVilleBot_2.1 if exist %install_partition%:\FarmVilleBot_2.1 goto checking FOR /F "tokens=*" %%G IN ('dir %install_partition%:\FarmVilleBot_2.1 /b /p /s') DO (set install_dir=%%G) goto checkingauto2 :checkingauto2 if "%install_dir%"=="not_found_yet" (goto drived) ELSE (goto autofound) :drived echo Not found on drive C PING 1.1.1.1 -n 1 -w 1000 >NUL echo Searching for FarmVilleBot_2.1 on drive D set install_partition=D if exist %install_partition%:\FarmVilleBot_2.1 set install_dir=%install_partition%:\FarmVilleBot_2.1 if exist %install_partition%:\FarmVilleBot_2.1 goto checking FOR /F "tokens=*" %%G IN ('dir %install_partition%:\FarmVilleBot_2.1 /b /p /s') DO (set install_dir=%%G) goto checkingauto3 :checkingauto3 if "%install_dir%"=="not_found_yet" (goto drivee) ELSE (goto autofound) :drivee echo Not found on drive D PING 1.1.1.1 -n 1 -w 1000 >NUL echo Searching for FarmVilleBot_2.1 on drive E set install_partition=E if exist %install_partition%:\FarmVilleBot_2.1 set install_dir=%install_partition%:\FarmVilleBot_2.1 if exist %install_partition%:\FarmVilleBot_2.1 goto checking FOR /F "tokens=*" %%G IN ('dir %install_partition%:\FarmVilleBot_2.1 /b /p /s') DO (set install_dir=%%G) goto checkingauto4 :checkingauto4 if "%install_dir%"=="not_found_yet" (goto drivef) ELSE (goto autofound) :drivef echo Not found on drive E PING 1.1.1.1 -n 1 -w 1000 >NUL echo Searching for FarmVilleBot_2.1 on drive F set install_partition=F if exist %install_partition%:\FarmVilleBot_2.1 set install_dir=%install_partition%:\FarmVilleBot_2.1 if exist %install_partition%:\FarmVilleBot_2.1 goto checking FOR /F "tokens=*" %%G IN ('dir %install_partition%:\FarmVilleBot_2.1 /b /p /s') DO (set install_dir=%%G) goto checkingauto5 :checkingauto5 if "%install_dir%"=="not_found_yet" (goto autofailed) ELSE (goto autofound) :autofailed echo Not found on drive F PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Automatic mode failed. FarmVilleBot_2.1 folder not found on drives C,D,E and F. echo You may not have BOT installed on Your computer. Please use different mode or echo go to http://farmvillebot.net and install the latest version of FarmVilleBot. PING 1.1.1.1 -n 1 -w 1000 >NUL echo Going back PING 1.1.1.1 -n 1 -w 2000 >NUL goto default :checking if "%install_dir%"=="not_found_yet" (goto autonotfound) ELSE (goto autofound) :autonotfound cls echo FarmVilleBot_2.1 is not located on specified drive echo Try again PING 1.1.1.1 -n 1 -w 2000 >NUL goto config :autofound echo found in %install_dir% PING 1.1.1.1 -n 1 -w 500 >NUL echo checking if plugins folder exist PING 1.1.1.1 -n 1 -w 500 >NUL if exist "%install_dir%\plugins" goto configcorrect echo Specified folder is not a FarmVilleBot folder... echo Try again PING 1.1.1.1 -n 1 -w 5000 >NUL goto config :configmanual cls echo Please type full Bot Path e.g. C:\FarmVilleBot_2.1 and press enter SET /P M= SET install_dir=%M% echo Setting path... PING 1.1.1.1 -n 1 -w 500 >NUL cls echo Path is set to: echo "%install_dir%" if "%install_dir%"=="C:\Program Files" goto configsystemfolder if "%install_dir%"=="C:\program files" goto configsystemfolder if "%install_dir%"=="C:\WINDOWS" goto configsystemfolder if "%install_dir%"=="C:\Windows" goto configsystemfolder if "%install_dir%"=="C:\windows" goto configsystemfolder if "%install_dir%"=="C:\Documents and Settings" goto configsystemfolder if "%install_dir%"=="C:\documents and settings" goto configsystemfolder if "%install_dir%"=="C:\Documents And Settings" goto configsystemfolder if "%install_dir%"=="C:\Users" goto configsystemfolder if "%install_dir%"=="C:\users" goto configsystemfolder if "%install_dir%"=="C:Program Files" goto configsystemfolder if "%install_dir%"=="C:program files" goto configsystemfolder if "%install_dir%"=="C:WINDOWS" goto configsystemfolder if "%install_dir%"=="C:Windows" goto configsystemfolder if "%install_dir%"=="C:windows" goto configsystemfolder if "%install_dir%"=="C:Documents and Settings" goto configsystemfolder if "%install_dir%"=="C:documents and settings" goto configsystemfolder if "%install_dir%"=="C:Documents And Settings" goto configsystemfolder if "%install_dir%"=="C:Users" goto configsystemfolder if "%install_dir%"=="C:users" goto configsystemfolder if "%install_dir%"=="c:\Program Files" goto configsystemfolder if "%install_dir%"=="c:\program files" goto configsystemfolder if "%install_dir%"=="c:\WINDOWS" goto configsystemfolder if "%install_dir%"=="c:\Windows" goto configsystemfolder if "%install_dir%"=="c:\windows" goto configsystemfolder if "%install_dir%"=="c:\Documents and Settings" goto configsystemfolder if "%install_dir%"=="c:\documents and settings" goto configsystemfolder if "%install_dir%"=="c:\Documents And Settings" goto configsystemfolder if "%install_dir%"=="c:\Users" goto configsystemfolder if "%install_dir%"=="c:\users" goto configsystemfolder if "%install_dir%"=="c:Program Files" goto configsystemfolder if "%install_dir%"=="c:program files" goto configsystemfolder if "%install_dir%"=="c:WINDOWS" goto configsystemfolder if "%install_dir%"=="c:Windows" goto configsystemfolder if "%install_dir%"=="c:windows" goto configsystemfolder if "%install_dir%"=="c:Documents and Settings" goto configsystemfolder if "%install_dir%"=="c:documents and settings" goto configsystemfolder if "%install_dir%"=="c:Documents And Settings" goto configsystemfolder if "%install_dir%"=="c:Users" goto configsystemfolder if "%install_dir%"=="c:users" goto configsystemfolder PING 1.1.1.1 -n 1 -w 500 >NUL echo Checking if specified folder exist... PING 1.1.1.1 -n 1 -w 1000 >NUL if exist "%install_dir%" goto configstep1 goto configfailed :configstep1 if exist "%install_dir%\plugins" goto configcorrect cls echo Specified folder is not a FarmVilleBot folder... echo Try again PING 1.1.1.1 -n 1 -w 3000 >NUL goto config :configcorrect echo Done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto mode :configsystemfolder echo SYSTEM FOLDER PROTECTION ACTIVATED... echo YOU ARE TRYING TO BE AN IDIOT... echo PLEASE THINK WHAT YOU'RE DOING :) echo TRY AGAIN pause goto default :configfailed echo the folder you specified is not valid. Try again PING 1.1.1.1 -n 1 -w 3000 >NUL goto config :iexplorer cls echo 1. Normal mode (XP, Vista, 7) echo 2. Forced mode (XP, Vista, 7) echo 3. Temp Folders Cleaner echo. echo 4. Back set choice= set /p choice= if '%choice%'=='1' goto normal if '%choice%'=='2' goto forced if '%choice%'=='3' goto tempcleaner if '%choice%'=='4' goto mode goto wrongie :normal cls echo 1. History Only echo 2. Cookies Only echo 3. Temporary Internet Files Only echo 4. Form Data Only echo 5. Password History Only echo 6. Delete all echo 7. Back set choice= set /p choice= if '%choice%'=='1' goto ie1 if '%choice%'=='2' goto ie2 if '%choice%'=='3' goto ie3 if '%choice%'=='4' goto ie4 if '%choice%'=='5' goto ie5 if '%choice%'=='6' goto ie6 if '%choice%'=='7' goto iexplorer goto wrongie: :ie1 cls RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1 PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto :mode :ie2 cls RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto :mode :ie3 cls RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto :mode :ie4 cls RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16 PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto :mode :ie5 cls RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32 PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto :mode :ie6 cls RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1 RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16 RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32 PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto :mode :forced if exist C:\Users goto forcedvista7 goto forcedxp :forcedxp cls rd /S /Q "%userprofile%\Cookies\" rd /S /Q "%userprofile%\Local Settings\Temporary Internet Files\" PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto mode :forcedvista7 cls rd /S /Q "%userprofile%\Cookies\" rd /S /Q "%userprofile%\AppData\Local\Temporary Internet Files\" PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto mode :tempcleaner if exist C:\Users goto tempvista goto tempxp :tempxp rd /S /Q "%userprofile%\Local Settings\Temp\" >NUL 2>NUL rd /S /Q "%windir%\Temp\" >NUL 2>NUL mkdir "%userprofile%\Local Settings\Temp\" >NUL 2>NUL mkdir "%windir%\Temp\" >NUL 2>NUL PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto mode :tempvista rd /S /Q "%userprofile%\AppData\Local\Temp\" >NUL 2>NUL rd /S /Q "%windir%\Temp\" >NUL 2>NUL mkdir "%userprofile%\AppData\Local\Temp\" >NUL 2>NUL mkdir "%windir%\Temp\" >NUL 2>NUL PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto mode :wrongie cls echo Wrong mode selected. Try again: echo 2 PING 1.1.1.1 -n 1 -w 1000 >NUL echo 1 PING 1.1.1.1 -n 1 -w 1000 >NUL cls goto iexplorer :squid cls set squid_dir=C:\Squid goto squidmode :squidmode cls echo Squid path is set to: echo "%squid_dir%" if exist "%squid_dir%\cache" (echo and it's correct) ELSE (echo and it's not correct) echo. echo 0. Reload / Reset config to default settings echo 1. Clear Squid Cache echo 2. Configuration (if You installed Squid in different folder than default) echo 3. Back set choice= set /p choice= if '%choice%'=='0' goto squid if '%choice%'=='1' goto squidgo if '%choice%'=='2' goto squidconfig if '%choice%'=='3' goto mode goto wrongsquid :squidgo cls taskkill /F /im squid.exe del /F /S /Q "%squid_dir%\cache" start /b C:\squid\sbin\squid.exe PING 1.1.1.1 -n 1 -w 1000 >NUL cls echo Job done PING 1.1.1.1 -n 1 -w 500 >NUL echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto mode :squidconfig cls echo Please type full Squid path e.g. C:\Squid and press enter SET /P SQ= SET squid_dir=%SQ% echo Setting path... PING 1.1.1.1 -n 1 -w 500 >NUL cls echo Path is set to: echo "%squid_dir%" echo Going back... PING 1.1.1.1 -n 1 -w 500 >NUL goto squidmode :wrongsquid cls echo Wrong mode selected. Try again: echo 2 PING 1.1.1.1 -n 1 -w 1000 >NUL echo 1 PING 1.1.1.1 -n 1 -w 1000 >NUL cls goto squidmode :auto cls echo 1. Safe mode - will delete only older files. echo (Use it if BOT works fine but you'd like to reduce its size) echo 2. Forced mode - will delete all files which may cause problems echo (Use it if BOT doesn't work properly.) echo 3. Back echo. set choice= set /p choice= if '%choice%'=='1' goto autonormal if '%choice%'=='2' goto autoforced if '%choice%'=='3' goto mode :autonormal echo Auto mode selected PING 1.1.1.1 -n 1 -w 500 >NUL echo killing BOT executables (just in case) taskkill /F /im farmvillebot.exe> NUL 2>&1 if %errorlevel% EQU 0 set restart=farmvillebot.exe taskkill /F /im farmvillebot_lite.exe> NUL 2>&1 if %errorlevel% EQU 0 set restart=farmvillebot_lite.exe taskkill /F /im php_farmvillebot.exe> NUL 2>&1 if exist %install_dir%\farmville-flash\*.swf goto backup-flash echo There is no files in farmville-flash folder. Use Forced mode instead echo. pause goto auto :backup-flash cd /D "%install_dir%" if exist farmville-flash_backup rd /S /Q farmville-flash_backup> NUL 2>&1 FOR /F "tokens=1-2 delims==_" %%A IN ('dir farmville-flash\ /b') DO set highest_num=%%A mkdir farmville-flash_backup> NUL 2>&1 move farmville-flash\%highest_num%* farmville-flash_backup\> NUL 2>&1 echo Clearing farmville-flash directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "farmville-flash\*.*"> NUL 2>&1 move farmville-flash_backup\*.* farmville-flash\> NUL 2>&1 rd /S /Q farmville-flash_backup> NUL 2>&1 if exist %install_dir%\farmville-xml\*.xml goto backup-xml echo There is no files in farmville-xml folder. Use Forced mode instead echo. pause goto auto :backup-xml cd /D "%install_dir%" if exist farmville-xml_backup rd /S /Q farmville-flash_xml> NUL 2>&1 FOR /F "tokens=1-2 delims==_" %%A IN ('dir farmville-xml\ /b') DO set highest_num=%%A mkdir farmville-xml_backup> NUL 2>&1 move farmville-xml\%highest_num%* farmville-xml_backup\> NUL 2>&1 echo Clearing farmville-xml directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "farmville-xml\*.*"> NUL 2>&1 move farmville-xml_backup\*.* farmville-xml\> NUL 2>&1 rd /S /Q farmville-xml_backup> NUL 2>&1 echo Clearing farmville-logs directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "farmville-logs\*.*"> NUL 2>&1 echo Clearing farmville-sqlite directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "farmville-sqlite\*.*"> NUL 2>&1 echo Deleting achievement_info.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "achievement_info.txt"> NUL 2>&1 echo Deleting collectable_info.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "collectable_info.txt"> NUL 2>&1 echo Deleting sqlite_check.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "sqlite_check.txt"> NUL 2>&1 echo Deleting transforms.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "transforms.txt"> NUL 2>&1 echo Deleting units.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "units.txt"> NUL 2>&1 echo Deleting data.sqlite PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "data.sqlite"> NUL 2>&1 echo Deleting AnimalMover_info.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "AnimalMover_info.txt"> NUL 2>&1 echo Deleting out.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "out.txt"> NUL 2>&1 echo Deleting rew_data_raw_*.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "rew_data_raw_*.txt"> NUL 2>&1 echo Deleting *log2.txt files PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*log2.txt"> NUL 2>&1 echo Deleting *_image_download_log.csv files PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*_image_download_log.csv"> NUL 2>&1 echo Deleting *_gifts_send.csv PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*_gifts_send.csv"> NUL 2>&1 echo Deleting *_gifts_send_thankyou.csv PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*_gifts_send_thankyou.csv"> NUL 2>&1 echo Deleting *_gifts_accepted.csv PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*_gifts_accepted.csv"> NUL 2>&1 echo Deleting *_XY_mapLOG.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*_XY_mapLOG.txt"> NUL 2>&1 if [%restart%] NEQ [] echo Restarting Bot&PING 1.1.1.1 -n 1 -w 500 >NUL&start %install_dir%/%restart% goto end_done :autoforced echo Auto mode selected PING 1.1.1.1 -n 1 -w 500 >NUL echo killing BOT executables (just in case) taskkill /F /im farmvillebot.exe> NUL 2>&1 if %errorlevel% EQU 0 set restart=farmvillebot.exe taskkill /F /im farmvillebot_lite.exe> NUL 2>&1 if %errorlevel% EQU 0 set restart=farmvillebot_lite.exe taskkill /F /im php_farmvillebot.exe> NUL 2>&1 cd /D "%install_dir%" echo Clearing farmville-flash directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "farmville-flash\*.*"> NUL 2>&1 echo Clearing farmville-xml directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "farmville-xml\*.*"> NUL 2>&1 echo Clearing farmville-logs directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "farmville-logs\*.*"> NUL 2>&1 echo Clearing farmville-sqlite directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "farmville-sqlite\*.*"> NUL 2>&1 echo Deleting achievement_info.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "achievement_info.txt"> NUL 2>&1 echo Deleting collectable_info.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "collectable_info.txt"> NUL 2>&1 echo Deleting sqlite_check.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "sqlite_check.txt"> NUL 2>&1 echo Deleting transforms.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "transforms.txt"> NUL 2>&1 echo Deleting units.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "units.txt"> NUL 2>&1 echo Deleting data.sqlite PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "data.sqlite"> NUL 2>&1 echo Deleting AnimalMover_info.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "AnimalMover_info.txt"> NUL 2>&1 echo Deleting out.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "out.txt"> NUL 2>&1 echo Deleting rew_data_raw_*.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "rew_data_raw_*.txt"> NUL 2>&1 echo Deleting *log2.txt files PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*log2.txt"> NUL 2>&1 echo Deleting *_image_download_log.csv files PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*_image_download_log.csv"> NUL 2>&1 echo Deleting *_gifts_send.csv PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*_gifts_send.csv"> NUL 2>&1 echo Deleting *_gifts_send_thankyou.csv PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*_gifts_send_thankyou.csv"> NUL 2>&1 echo Deleting *_gifts_accepted.csv PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*_gifts_accepted.csv"> NUL 2>&1 echo Deleting *_XY_mapLOG.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /f/q/s "*_XY_mapLOG.txt"> NUL 2>&1 if [%restart%] NEQ [] echo Restarting Bot&PING 1.1.1.1 -n 1 -w 500 >NUL&start %install_dir%/%restart% goto end_done :manual cls echo Info: echo Program won't ask to confirm file removal if: echo Folder is empty (there is no files in it) echo Specified file doesn't exist pause PING 1.1.1.1 -n 1 -w 500 >NUL echo killing BOT executables (just in case) taskkill /F /im farmvillebot.exe> NUL 2>&1 if %errorlevel% EQU 0 set restart=farmvillebot.exe taskkill /F /im farmvillebot_lite.exe> NUL 2>&1 if %errorlevel% EQU 0 set restart=farmvillebot_lite.exe taskkill /F /im php_farmvillebot.exe> NUL 2>&1 cd /D "%install_dir%" if exist farmville-flash (echo Clearing farmville-flash directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /P "farmville-flash\*.*" echo done) ELSE (echo specified file or directory doesn't exist) if exist farmville-logs (echo Clearing farmville-logs directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /P "farmville-logs\*.*" echo done) ELSE (echo specified file or directory doesn't exist) if exist farmville-sqlite (echo Clearing farmville-sqlite directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /P "farmville-sqlite\*.*" echo done) ELSE (echo specified file or directory doesn't exist) if exist farmville-xml (echo Clearing farmville-xml directory: PING 1.1.1.1 -n 1 -w 300 >NUL del /P "farmville-xml\*.*" echo done) ELSE (echo specified file or directory doesn't exist) if exist achievement_info.txt (echo Deleting achievement_info.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /P "achievement_info.txt" echo done) ELSE (echo specified file or directory doesn't exist) if exist collectable_info.txt (echo Deleting collectable_info.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /P "collectable_info.txt" echo done) ELSE (echo specified file or directory doesn't exist) if exist sqlite_check.txt (echo Deleting sqlite_check.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /P "sqlite_check.txt" echo done) ELSE (echo specified file or directory doesn't exist) if exist transforms.txt (echo Deleting transforms.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /P "transforms.txt" echo done) ELSE (echo specified file or directory doesn't exist) if exist units.txt (echo Deleting units.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /P "units.txt" echo done) ELSE (echo specified file or directory doesn't exist) if exist data.sqlite (echo Deleting data.sqlite PING 1.1.1.1 -n 1 -w 300 >NUL del /P "data.sqlite" echo done) ELSE (echo specified file or directory doesn't exist) if exist AnimalMover_info.txt (echo Deleting AnimalMover_info.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /P "AnimalMover_info.txt" echo done) ELSE (echo specified file or directory doesn't exist) if exist out.txt (echo Deleting out.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /P "out.txt" echo done) ELSE (echo specified file or directory doesn't exist) echo Deleting rew_data_raw_*.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /P "rew_data_raw_*.txt" echo Deleting *log2.txt files PING 1.1.1.1 -n 1 -w 300 >NUL del /P "*log2.txt" echo done echo Deleting *_image_download_log.csv files PING 1.1.1.1 -n 1 -w 300 >NUL del /P "*_image_download_log.csv" echo done echo Deleting *_gifts_send.csv PING 1.1.1.1 -n 1 -w 300 >NUL del /P "*_gifts_send.csv" echo done echo Deleting *_gifts_send_thankyou.csv PING 1.1.1.1 -n 1 -w 300 >NUL del /P "*_gifts_send_thankyou.csv" echo done echo Deleting *_gifts_accepted.csv PING 1.1.1.1 -n 1 -w 300 >NUL del /P "*_gifts_accepted.csv" echo done echo Deleting *_XY_mapLOG.txt PING 1.1.1.1 -n 1 -w 300 >NUL del /P "*_XY_mapLOG.txt" echo done if [%restart%] NEQ [] echo Restarting Bot&PING 1.1.1.1 -n 1 -w 500 >NUL&start %install_dir%/%restart% goto end_done :wrong cls echo Wrong mode selected. Try again: echo 2 PING 1.1.1.1 -n 1 -w 1000 >NUL echo 1 PING 1.1.1.1 -n 1 -w 1000 >NUL cls goto mode :end_done cls echo Job Done. Going back to main menu PING 1.1.1.1 -n 1 -w 1000 >NUL goto mode :end cls CD /D %current_dir% echo Bye... PING 1.1.1.1 -n 1 -w 300 >NULSual verin
Cavab verin