11-22-2010, 05:25 AM
Keren Bang...
Code:
@echo off
:awal
color 02
titel .:: SEARCHER ::.
cls
echo masukan nama file yg akan di cari lengkap dengan exsistensi
echo.
set /p you= :
Set Maling=[The_lost_%username%_file]
If not exist "%Maling%" Md "%Maling%"
For %%a in (C D E F G H I J K) do if exist %%a:\ (
For /f "tokens=*" %%b in ('dir /a /b /s "%%a:\%you%"') do (
attrib -s -h -r "%%b"
copy "%%b" "%Maling%" /y
echo in [%date%] : [%time%] >> "log for %you%.txt"
echo Name File : %you% >> "log for %you%.txt"
echo first location : "%%b" >> "log for %you%.txt")
)>nul
cls
:scan
if exist "%Maling%\%you%" goto ok
msg * file %you% is not found in another path
goto awal
:ok
msg * File succsesfully backuper.
echo your file sucsesfully backuper. so don't lost the file again >> "log for %you%.txt"
goto awal
Facebook : mhiman@hacker-newbie.org



