Skip to content

How to store {_directory} in a variable using --exec-after #7027

Closed Answered by makotocolors
makotocolors asked this question in Q&A
Discussion options

You must be logged in to vote

Well, I did what you said and directed the {_directory} to a new batch file using --exec-after "call tools\img\img2pdf.bat {_directory}" where I will manipulate the images folder individually. And it worked! I only needed to replace the first 4 characters which were \\?\. Also when I used echo in the new batch file it sent the Japanese characters correctly (as shown in the following screenshot) - something that didn't happen when I used directly --exec-after "echo {_directory}". Anyway, thanks a lot for the answer!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@makotocolors
Comment options

Answer selected by mikf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants