Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: .bat Image Renaming For WD TV Live  (Read 3811 times)

0 Members and 1 Guest are viewing this topic.

jonnieboyrevel

    Topic Starter


    Newbie

    • Experience: Familiar
    • OS: Windows 7
    .bat Image Renaming For WD TV Live
    « on: November 10, 2013, 05:18:20 AM »
    Hello all,

    Apologies if this has been answered, the search gives something similar but not exactly what I'm after.

    I use XBMC and a Western Digital TV Live as media centers.  XBMC uses folder.jpg for movie box art.  However, the WD uses both folder.jpg and moviename.jpg.

    My folder structure is as follows:

    Films\movie1\movie1.mkv(or avi etc...)
    Films\movie1\folder.jpg
    Films\movie2\movie2.mkv (etc...)
    Films\movie2\folder.jpg

    What I'm after is a .bat file that will scan the entire films directory, copy the folder.jpg and rename the new jpg using the name of the folder that folder.jpg is in.  The original folder.jpg should remain.

    Essentially from:

    Films\movie1\folder.jpg

    To:

    Films\movie1\folder.jpg
    and
    Films\movie1\movie1.jpg

    This should happen to each folder in Films.

    I'm sure this must be possible but to be honest my knowledge of .bat files is very limited.

    Thank You for any help you can provide.


    Jonathan