Search found 6 matches

by infernus
07 Jul 2021 13:07
Forum: DOS Batch Forum
Topic: File Conversion
Replies: 8
Views: 6914

Re: File Conversion

... the first thing I would ask is: Is there any significant difference in the .xml files being passed to the program, or could you make a single .xml that handles video formats at once? Then you'd have one line for the video converter and one for the audio converter, and could just move all files ...
by infernus
07 Jul 2021 02:19
Forum: DOS Batch Forum
Topic: File Conversion
Replies: 8
Views: 6914

Re: File Conversion

After a few hours of experimentation & testing, this is what I have thus far: :: Filename: BFC.bat :: Name: Batch File Conversion :: Version: 1.26 :: Description: Batch convert video and/or audio files to either mp4(video) or mp3 (audio) :: Purpose: File preparation for inclusion into Plex media lib...
by infernus
06 Jul 2021 17:34
Forum: DOS Batch Forum
Topic: File Conversion
Replies: 8
Views: 6914

Re: File Conversion

I think I may have solved the wait issue, altho I'm pretty sure my syntax is faulty. I've added a 1 minute pause loop w/ errorlevel check for each conversion with a continue goto on a successful check. @echo off setlocal enabledelayedexpansion enableextensions rem set variables set workdir=D:\Video ...
by infernus
06 Jul 2021 16:41
Forum: DOS Batch Forum
Topic: File Conversion
Replies: 8
Views: 6914

Re: File Conversion

And does it still appear to hang the computer with this fix? It doesn't hang anymore so that's one good thing. I tried "start /B /wait", "start /B" and "start /wait"; all three variations give the "The system cannot find the file -a.", the batch continues, files get moved & the batch finishes 'norm...
by infernus
06 Jul 2021 12:50
Forum: DOS Batch Forum
Topic: File Conversion
Replies: 8
Views: 6914

Re: File Conversion

I changed the 'goto end' on the mp4 to go back to check for wmv and the goto on the wmv to go back to the file check in case there are multiple files to convert. rem placeholder for each wait point for conversion has also been added. I was going to place a 'start /wait' instead of 'start "" for each...
by infernus
05 Jul 2021 21:11
Forum: DOS Batch Forum
Topic: File Conversion
Replies: 8
Views: 6914

File Conversion

Hi all, I'm trying to create a batch file that will do the following: Read the contents of a particular source directory Determine if the contents are audio or video file(s) Determine if the contents are of a particular file type (audio or video) and run a file conversion program based on the determ...