Though, I know, there's a good number of divxmux-related software around, I sometimes find it boring using them to do batch of commands. Say, I have a series of avi files with respective subtitle files in one folder, I just want them to mux automatically into respective divx files. I came to find easy solutions in normal command lines. This is what I prepared:
Code:
@echo off
cls

set inputfolder=F:\Triumph of Life
set outputfolder=D:\Triumph of Life
set propath=%CD%


CD /D %inputfolder%
for %%k in (*.avi) DO (
echo AVI input: %inputfolder%\%%k
echo VN subtitle: %inputfolder%\%%k.vn.xsub
echo EN subtitle: %inputfolder%\%%k.en.xsub

CD /D %propath%
divxmux.exe -v "%inputfolder%\%%k" -a "%inputfolder%\%%k" -s "%inputfolder%\%%k.vn.xsub" -s "%inputfolder%\%%k.en.xsub" -o "%outputfolder%\%%k.divx"
Echo Done.
Echo.

)


pause
exit
This batch file helps me to mux with one click unlimited sets of avi + subtitles (in this case xsub files).

The problem is, I can't put (Audio - en;02 and (Subtitle - vi;14) in the code after -a as the For is also using ( and ). Can you help me with this?
Thanks