Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

batch 스크립트에서는 %I 대신 %II 로 작성해야 함.


특정 경로에 있는 모든 pdf 파일을 PDFtoPrinter 를 사용해서 프린터로 출력

Code Block
languagepowershell
titleprint-pdf.bat
@ECHO OFF

FOR %%I in ("D:\Documents\mydoc"\*.pdf)^
DO PDFtoPrinter.exe "%%I"


for loop 로 현재 디렉토리 순회하기

...