Announcement

Collapse
No announcement yet.

Text pattern match for keeping folder structure

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Solved Text pattern match for keeping folder structure

    Hi all,
    Firstly, sorry if this query has already been answered. I searched forums and found answers similar, but not exactly the same.

    I have a number of image-containing folders to be converted at once via batch conversion, e.g.
    c:\users\me\pictures\folder1
    c:\users\me\pictures\folder2
    etc

    I want to recreate the last subfolder name but in a different path. For example

    c:\users\me\pictures\converted\folder1
    c:\users\me\pictures\converted\folder2

    In the UI for the output directory I use "c:\users\me\pictures\converted\$d" which I would expect to produce c:\users\me\pictures\converted\folder1, and so on, based on the description of $d. But instead it adds the full path, so the images are dropped into
    c:\users\me\pictures\converted\users\me\pictures\f older1 etc.

    Am I using $d incorrectly? Have I inadvertently checked a box to recreate original folder structure after named directory?

    Thanks!

    #2
    Sorry all, just after I posted this I think I found the answer.

    It seemed the only way to add multiple folders was to click the 'include subfolders' button and then choose 'Add all'. If I deselect that option before I actually run the batch, I get the results I want.

    Apologies for wasted post.

    Comment

    Working...
    X