pdftk utility and batch file

Posted by duhaas on Super User See other posts from Super User or by duhaas
Published on 2010-01-14T22:19:13Z Indexed on 2010/04/06 21:03 UTC
Read the original article Hit count: 405

Filed under:
|

I cant for the life of me figure out what I'm missing. I have the following batch file:

As you can see, when I run this batch file from my desk against a mapped drive it runs just fine:

When I run the same exact batch file on the server itself, the place where the mapped drive is located on, it doesnt run and makes me think I have a syntax problem:

I just dont understand whats going on, and my eyes are having a hard time keeping track of what might be diff. The server where it isnt working is windows 2003, my desktop where the same batch file is working is Windows 7. Here is the batch file, nothing crazy:

FOR /D /r %%G in ("*") DO pdftk "%%G\*.pdf" cat output "%%G\Report.pdf"

© Super User or respective owner

Related posts about pdf

Related posts about batch