Files
Nicolas Simond 5f84343140 Update print.bat
Fix kill loop that is no longer needed for latest Adobe updates
2024-07-15 09:12:31 +02:00

15 lines
526 B
Batchfile

REM Kill all existings Reader instance
taskkill /F /IM Acrobat.exe
REM Launch the background script to kill the Acrobat Reader after each print because he don't do that itself
REM start cmd.exe /c kill.bat
REM Launch the loop to print all the files in the folder and launch back the program killer after each print
for %%i in (*.pdf) do (
"C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" /t "%%i"
REM start cmd.exe /c kill.bat
)
REM Kill loop no longer needed for latest Adobe update