# Identical executable files with different names in MiKTeX

What is the difference between miktex-*.exe and *.exe, where * is any one of bibtex, kpsewhich, luatex, makeindex, mf, mpost, omega, pdftex, tex, texlua, texluac, texworks, or xetex? These files are all in texmf\miktex\bin. In all of these cases, the two files have identical sizes and (almost) identical timestamps. Why do they seem to be duplicated?

-
This can IMHO correctly only be answered by Christian Schenk, the MiKTeX developer. –  Speravir Feb 8 '13 at 1:47
Almost forgotten: As far as I can tell, they also behave exactly, for example they print out the same version string. –  Speravir Feb 8 '13 at 2:20
@Speravir Handily, he's answered :-) –  Joseph Wright Feb 8 '13 at 9:30

The miktex- prefix is preferred when MiKTeX specific command-line options are used, i.e., when it is necessary that the MiKTeX variant is executed. For example, if you have MiKTeX and another TeX distribution installed side by side, then

miktex-pdftex --include-directory=C:\MyTeXMF mydoc.tex

would work, even if the MiKTeX bin directory is searched after the other bin directory.

-
Welcome to TeX.sx! –  Joseph Wright Feb 8 '13 at 9:31
I’m glad as supposedly a lot other people that you joint TeX.SE! (On the other hand this is bad for me and some others, because from now on we’re not authorized anymore to answer MiKTeX questions.) ;-) –  Speravir Feb 8 '13 at 20:37