I am trying to automate the encoding and tagging parts of ripping my DVD TV Series collections for an AppleTV.
Currently I am at a roadblock in this Batch/Command file automation process and could really use some expertise.
Situation: Files end up here:
aka C:\Documents and Settings\Administrator\Local
The file format is always as follows:
Star Trek - S01E07.m4v
aka Show Name[space]-[space]SnnEnn.m4v
I will be processing a lot of files, but they all follow that exact same format. The Show Name is variable length depending on the name of the show, but it is always followed by a space-space then S (Season) and two
numbers, and E (Episode) and two numbers, and the file extension is always going to be .m4v
What I need: I am wanting to put code into my batch file that will look at the one and only M4V file in that directory and from it set the following variables:
(These example values are based on the Star Trek file
filename=Star Trek - S01E01.m4v
pathfilename=C:\Documents and Settings\Administrator\Local Settings\Temp\Star Trek - S01E01.m4v
Thank you so much for help, this will save me a lot of manual intervention as I process all the DVDs for digital storage.