Update print.bat

Fix kill loop that is no longer needed for latest Adobe updates
This commit is contained in:
Nicolas Simond
2024-07-15 09:12:31 +02:00
committed by GitHub
parent 7d14f3ebd6
commit 5f84343140
+7 -4
View File
@@ -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