mirror of
https://github.com/stylersnico/batch-pdf-printer.git
synced 2026-06-04 16:08:24 +02:00
5f84343140
Fix kill loop that is no longer needed for latest Adobe updates
15 lines
526 B
Batchfile
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
|