mirror of
https://github.com/stylersnico/batch-pdf-printer.git
synced 2026-06-04 16:08:24 +02:00
Update print.bat
Fix kill loop that is no longer needed for latest Adobe updates
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
REM Kill all existings Reader instance
|
||||
taskkill /F /IM AcroRd32.exe
|
||||
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
|
||||
start cmd.exe /c kill.bat
|
||||
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"
|
||||
start cmd.exe /c kill.bat
|
||||
)
|
||||
REM start cmd.exe /c kill.bat
|
||||
)
|
||||
|
||||
|
||||
REM Kill loop no longer needed for latest Adobe update
|
||||
|
||||
Reference in New Issue
Block a user