title
Products            Buy            Support Forum            Professional            About            Codec Central
 

When I convert, how can I get last folder name?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HaeRang
    • Jan 2010
    • 3

    When I convert, how can I get last folder name?

    When I convert, how can I get last folder name?
  • Spoon
    Administrator
    • Apr 2002
    • 43888

    #2
    Re: When I convert, how can I get last folder name?

    Please explain 'get'?
    Spoon
    www.dbpoweramp.com

    Comment

    • HaeRang
      • Jan 2010
      • 3

      #3
      Re: When I convert, how can I get last folder name?

      Originally posted by Spoon
      Please explain 'get'?
      I mean this.
      For example, I have a flac file named 777.flac.

      And it's path is
      D:\AAA\BBB\CCC\DDD [FLAC]\777.flac
      Now, when I convert to VBR V2 mp3 and CBR 192 mp3, I want to use last folder name, DDD.

      like this:
      D:\AAA\BBB\CCC\DDD [V2]\777 [V2].mp3
      D:\AAA\BBB\CCC\DDD [192]\777 [192].mp3


      for this, I tried like below, it's wrong.
      Output Location: (for converting to VBR V2 mp3)
      Folder: D:
      Dynamic: [TRIMLASTFOLDER][origpath][][LASTFOLDER] [V2]\[origfilename] [V2]

      Output Location: (for converting to CBR 192 mp3)
      Folder: D:
      Dynamic: [TRIMLASTFOLDER][origpath][][LASTFOLDER] [192]\[origfilename] [192]


      I know, the "[LASTFOLDER]" element is not exist.
      So, I don't know what I can do for this.

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 43888

        #4
        Re: When I convert, how can I get last folder name?

        Is there always aaa\bbb\ccc ?
        Spoon
        www.dbpoweramp.com

        Comment

        • HaeRang
          • Jan 2010
          • 3

          #5
          Re: When I convert, how can I get last folder name?

          Originally posted by Spoon
          Is there always aaa\bbb\ccc ?
          No, it isn't.

          I have various folder.

          for example,
          O:\Music\Pop\A\ABBA\ABBA '1993 - More ABBA Gold [FLAC$Good]
          O:\Music\Pop\B\Black Eyed Peas\Black Eyed Peas '2003 - Elephunk [FLAC$Bad]
          O:\Music\Pop\C\Celine Dion\Celine Dion '1999 - All The Way [FLAC$Perfect]
          ...
          O:\Music\JPop\A\~~~
          O:\Music\JPop\B\~~~


          I want to convert like below.

          O:\Music\Pop\A\ABBA\ABBA '1993 - More ABBA Gold [V2]
          O:\Music\Pop\A\ABBA\ABBA '1993 - More ABBA Gold [192]
          O:\Music\Pop\B\Black Eyed Peas\Black Eyed Peas '2003 - Elephunk [V2]
          O:\Music\Pop\B\Black Eyed Peas\Black Eyed Peas '2003 - Elephunk [192]
          O:\Music\Pop\C\Celine Dion\Celine Dion '1999 - All The Way [V2]
          O:\Music\Pop\C\Celine Dion\Celine Dion '1999 - All The Way [192]
          ...
          O:\Music\JPop\A\~~~
          O:\Music\JPop\B\~~~



          So, if there is "[LASTFOLDER]" element,
          I will use like below.

          Output Location: (for converting to VBR V2 mp3)
          Folder: D:
          Dynamic: [TRIMLASTFOLDER][origpath][][LASTFOLDER] [V2]\[origfilename] [V2]

          Output Location: (for converting to CBR 192 mp3)
          Folder: D:
          Dynamic: [TRIMLASTFOLDER][origpath][][LASTFOLDER] [192]\[origfilename] [192]


          But, there isn't "[LASTFOLDER]" element.
          So, I don't know how I solve this problem.

          [LASTFOLDER], It's the point.
          Last edited by HaeRang; 05-02-2010, 04:41 AM.

          Comment

          • Spoon
            Administrator
            • Apr 2002
            • 43888

            #6
            Re: When I convert, how can I get last folder name?

            I do not think you can do what you are after.
            Spoon
            www.dbpoweramp.com

            Comment

            Working...

            ]]>