-
|
Hello! I'm using pandoc.exe in powershell script to convert a list of MD files (532 files) to DOCX. The query string size is 58,693 bytes, which exceeds the Windows maximum query string limit of 32,767 bytes. I was wondering if it's possible to pass in pandoc a list of absolute paths of MD files in a one TXT file to reduce the size of the query string. If so, how do I do this? |
Beta Was this translation helpful? Give feedback.
Answered by
jgm
Feb 8, 2026
Replies: 1 comment 8 replies
-
|
Concatenate the files and pipe the result into pandoc ? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your use case is quite rare: few people will be passing this many input files to pandoc. And it depends on a limitation of Windows. Pandoc has an existing solution that is perfectly adequate (defaults files). Note that you can use multiple defaults files on the command line, so you can keep your other settings in one and just change the one with input files. So, I consider this issue resolved. Adding additional options to handle this case is just adding a lot of additional complexity to handle a rare case that is already handled.