pdftk utility and batch file
- by duhaas
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"