gGt an output file with a count of PDF pages for each file with Ghostscript
问题 This code works for me, except all my files are on a network drive. In the example below, the code works only if the file is in the root directory ( c:\ ) as an example. Do I have to replace input.pdf with something like d:\hello space folder\filefolder\input.pdf ? I tried this, but got a sleuth of errors saying directory not found. I tried to do netuse and map the network main drive folder, but that didn't work either. gswin32c ^ -q ^ -dNODISPLAY ^ -c "(input.pdf) (r) file runpdfbegin