@echo off
rem Author: Carsten Jensen (Tomse)
rem Copyright (c) 2013-2018 http://retro-commodore.eu
rem Requires pdf tool kit commandline in path

set workdir="D:\Retro-Work\"

pdftotext manual_recognized.pdf manual2.ocr.txt
pdftk "manual_recognized.pdf" update_info %workdir%\metadata.txt output "manual2.pdf"