Currently im using this batch script to split a huge video file into shorter duration.
md "D:\anime upload\output"
for %%a in ("*.mkv") do "F:\mkvtoolnix\mkvmerge.exe" -o "D:\anime upload\output\%%a" --split duration:00:14:40 "%%a"
I have a lot of videos in different folders.
is it possible to edit the script such that the files in output folder will be in same folder names as source?
+ Reply to Thread
Results 1 to 3 of 3
-
-
Try:
Code:setlocal enabledelayedexpansion for /R . %%A in (*.mkv) do ( set B=%%A "F:\mkvtoolnix\mkvmerge.exe" -o "D:\anime upload\output\!B:%CD%\=!" --split duration:00:14:40 "%%A" )
Similar Threads
-
batch demux video folder
By montevo in forum Newbie / General discussionsReplies: 0Last Post: 16th Jun 2016, 06:56 -
Set the current folder as destination folder and workfolder in a BATCH
By marcorocchini in forum Newbie / General discussionsReplies: 7Last Post: 25th Jun 2014, 07:58 -
Split all video in a folder with mkvmerge?
By hell_boys in forum Newbie / General discussionsReplies: 4Last Post: 29th May 2014, 02:52 -
Batch conversion with output to source location
By scott488 in forum Video ConversionReplies: 6Last Post: 6th Dec 2013, 09:36 -
Need help selecting tool for batch/folder conversion of large library
By snootch in forum Video ConversionReplies: 4Last Post: 27th Feb 2013, 00:50