1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
@echo off cls set year=%date:~6,4% set yr=%date:~8,2% set month=%date:~3,2% set day=%date:~0,2% set hour=%time:~0,2% set hour=%hour: =0% set min=%time:~3,2% set sec=%time:~6,2% "C:\Program Files\WinRAR\rar.exe" a -r D:\Backup\elements_%day%-%month%-%year%.rar E:\”Ћ’Љ€\1_‹€—Ќ›‰\*.* @echo off cls set year=%date:~6,4% set yr=%date:~8,2% set month=%date:~3,2% set day=%date:~0,2% set hour=%time:~0,2% set hour=%hour: =0% set min=%time:~3,2% set sec=%time:~6,2% echo Copying... copy "E:\”Ћ’Љ€\1_‹€—Ќ›‰\1_ЋЃ™Ђџ\6_Ѓ« Є ®вЈа㧮Є.mdb" D:\Backup\bkp.mdb echo Backing up ... "C:\Program Files\WinRAR\rar.exe" a -r D:\Backup\blank_%day%-%month%-%year%.rar D:\Backup\bkp.mdb echo Temp delete... del D:\Backup\bkp.mdb @echo off cls set year=%date:~6,4% set yr=%date:~8,2% set month=%date:~3,2% set day=%date:~0,2% set hour=%time:~0,2% set hour=%hour: =0% set min=%time:~3,2% set sec=%time:~6,2% echo Copying... copy "E:\”Ћ’Љ€\1_‹€—Ќ›‰\1_ЋЃ™Ђџ\6_Ѓ« Є ®вЈа㧮Є.mdb" D:\Backup\bkp.mdb echo Backing up ... "C:\Program Files\WinRAR\rar.exe" a -r D:\Backup\blank_%day%-%month%-%year%.rar D:\Backup\bkp.mdb echo Temp delete... del D:\Backup\bkp.mdb C:\cmd\sendemail -f sviwwwwwwwwww@mail.ru -t sviwwwwwwww@mail.ru -u TERMINAL REBOOT STARTED -m "Server TS reboot started in %DATE%, %TIME%" -s smtp.mail.ru -xu weqqwwrwe@mail.ru -xp 1651 shutdown -r -f |