title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Script to change TITLE based on characters in ORIGFILENAME

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Eric Seaberg

    • Apr 2010
    • 30

    Script to change TITLE based on characters in ORIGFILENAME

    I have radio programs I need to SRC from 44.1k to 48k and rename using batch convert. I've tried using several of the dynamic script ideas, but nothing seems to work.

    What I'm trying to do is replace part of the existing filename with new characters while keeping other characters, i.e.:

    Original filename: md20121203, 04, 05, 06, etc. based on the air date.
    I want to replace "md201212" with "momdec " (space at the end) and keep the last two chars., 03, 04, 05, 06, etc. from the original filename.

    I don't really see an optiion to use part of "origfilename" but there are lots of options to use "string", which doesn't really help me as the string elements are different for each file.

    Any ideas? Thanks...
  • Spoon
    Administrator
    • Apr 2002
    • 44509

    #2
    Re: Script to change TITLE based on characters in ORIGFILENAME

    You can do something like:

    [DEL]1,5,[origfilename][]
    Spoon
    www.dbpoweramp.com

    Comment

    Working...

    ]]>