Opening multiple PDF documents using batch file

后端 未结 6 931
生来不讨喜
生来不讨喜 2020-12-20 16:08

I am trying to open several PDF documents using a simple batch file:

ECHO OFF
CLS
cd Program Files\\Adobe\\Reader 9.0\\Reader
Acrord32.exe C:\\Users\\BW1.pd         


        
6条回答
  •  忘掉有多难
    2020-12-20 16:24

    For me it works even without the start command. I use:

    c:\path\to\my.pdf
    

    in cmd.exe windows frequently, and it always opens Acrobat Reader (my default viewer on Windows). In a batchfile I've written to generate PDF via Ghostscript, my last two lines are:

    "%ouptutpath%\%outputfile%.pdf"
    "%outputpath%\%outputfile%-optimized.pdf"
    

    which automatically opens both generated PDFs in two different Reader windows. (My %outputpath% contains spaces, the %outputfile% may also have some...)

提交回复
热议问题