@ECHO Backup System State...
@ECHO OFF
ntbackup backup systemstate /J "Backup Server" /F "E:\DMI-Backup\System_State\system_state.bkf"
cd C:\Program Files\7-Zip
7z.exe a E:\DMI-Backup\System_State\%date:~-10,2%-%date:~-4,4%system_state.7z E:\DMI-Backup\System_State\system_state.bkf
DEL E:\DMI-Backup\System_State\system_state.bkf
EXIT