@echo off :: mft-tex [par1] [par2] [par3] [par4] :: where :: [par1] = input file: 1%.mf :: [par2] = change file: 1%.mfc :: [par3] = style file: pl.mft :: [par4] = output file: 1%.tex if exist %1.mfc goto YEC :NOC mft %1.mf nul pl.mft %1.tex goto END :YEC mft %1.mf %1.mfc pl.mft %1.tex goto END :END