Making Filenames Mirror One Another With Different Extensions

From: AlleyCat ([email protected])


Hello all. I think this will be simple for you batch and script gurus, but
it's driving me crazy.

Videofile: House.S08E18.Body And Soul.mkv

Subtitle: House.S08E18.HDTV.XviD-LOL.srt

If you please... copy text after third period (or whatever will be before
the extension in other cases) of videofile and copy it to the srt file, so
both files are identical other than the extension.

Sample: House.S08E18.Body And Soul.mkv
House.S08E18.Body And Soul.srt

Not all vid files are in this "format", but I'll work on it from there.

Thank you so very much.

Share |