I'd like to use latexmk in order to compile my LaTeX documents and have Strawberry Perl v5.24.0 installed on my PC. Whenever I type in

latexmk myFile.tex

at the command prompt I'm getting the following error:

latexmk: The script could not be found.
latexmk: Data: scriptEngine="perl", name="latexmk", path="scripts/latexmk/perl/latexmk.pl"

but the latexkmk.pl perl script is actually located in


and there is no perl subfolder in the path. I'm using MiKTeX 2.9 portable on Windows 10 64 bit. Can anyone help me?

closed as off-topic by Mensch, Paul Gaborit, Mico, barbara beeton, ChrisS Oct 7 '17 at 1:10

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    latexmf.pl was previously in latexmk/perl, but moved with the last update. Your script.ini seems not have been adapted. Did you check for updates? – Ulrike Fischer Oct 31 '16 at 22:14
  • 2
    I've just updated my MiKTeX distribution and now latekmk works like a charm! :) – AlexP Nov 1 '16 at 8:11
  • 4
    I'm voting to close this question as off-topic because it was solved by an update (see comments). – Mensch Oct 6 '17 at 22:46

Browse other questions tagged or ask your own question.