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:
This batch file helps me to mux with one click unlimited sets of avi + subtitles (in this case xsub files).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
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
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
Batch "file creation from a text file, Placed into a created directory
By Muther in forum ProgrammingReplies: 5Last Post: 24th Sep 2015, 18:29 -
Batch File. Need help
By Seritin in forum ProgrammingReplies: 1Last Post: 6th Apr 2010, 11:16 -
need some batch file help
By iamspuzzum in forum ComputerReplies: 6Last Post: 22nd Mar 2010, 16:19 -
Batch file
By Anurag in forum ComputerReplies: 16Last Post: 19th May 2009, 11:27 -
Batch file that can delete a specific file
By Dark_Raven in forum ProgrammingReplies: 1Last Post: 10th Jun 2008, 08:16