The NTBackup.exe program keeps 10 versions of the backup log, named Backup01.log through Backup10.log, in the
I have scripted NTBackupLog.bat to open the most recent backup log in Notepad.exe.
The syntax for using NTBackupLog.bat is:
NTBackupLog \[UserProfilePath\]
where UserProfilePath is an optional parameter that specifies the path to the user profile that ran the backup. If omitted, the current user profile path, %USERPROFILE%, is used.
You can create a Minimized shortcut to NTBackupLog.bat \[UserProfilePath\] and place it on your desktop or Start menu.
NTBackupLog.bat contains:
@echo off setlocal ENABLEDELAYEDEXPANSION set file=N set user=%UserProfile% if \{%1\} NEQ \{\} set user=%1 set user=%user:"=% set folder=%user%\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data for /f "Tokens=*" %%a in ('dir "%folder%\backup*.log" /b /O-D') do if "!file!" EQU "N" set file=%%a start "!file!" "%SystemRoot%\notepad.exe" "%folder%\!file!" endlocal exit /b 0