# How to import a batch of covers to mp4 files

**URL:** https://community.mp3tag.de/t/how-to-import-a-batch-of-covers-to-mp4-files/10310
**Category:** Support
**Created:** [April 18, 2010, 5:45pm UTC](https://community.mp3tag.de/t/how-to-import-a-batch-of-covers-to-mp4-files/10310 "2010-04-18T17:45:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [April 18, 2010, 5:45pm UTC](https://community.mp3tag.de/t/how-to-import-a-batch-of-covers-to-mp4-files/10310/1 "2010-04-18T17:45:00Z")

</div>

Hello everyone,

I would like to import a batch of cover files to mp4 using the action "Import cover from file."

The problem I have is that the photo files have a name which I would like to ignore the last 5 characters. That is, the names of mp4 and jpg files are the same, however, the jpg have 5 extra characters that I want to ignore to be able to import the mp4 video.

The format is as follows:

Photos:

nombre11111.jpg

Videos:

nombre.mp4

I had intended to use the following command:

D:\Inbox\Photos$left(% \_filename%,$sub($len(% \_filename%),5))

But I get error that is not the plain, unformatted when trying to import. I think I might have to do with the file extension.

Someone could help me fix it please? I want avoid rename photos files for import covers!

thanks in advance!

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [April 22, 2010, 9:39am UTC](https://community.mp3tag.de/t/how-to-import-a-batch-of-covers-to-mp4-files/10310/2 "2010-04-22T09:39:23Z")

</div>

You can't do that (I think I've also said that in your last thread)

---

<div class="post-metadata">

### Author: ![vvcepheus7](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vvcepheus7/32/305_2.png) [@vvcepheus7](https://community.mp3tag.de/u/vvcepheus7)
#### Post date: [April 22, 2010, 9:43am UTC](https://community.mp3tag.de/t/how-to-import-a-batch-of-covers-to-mp4-files/10310/3 "2010-04-22T09:43:04Z")

</div>

sorry dano, you're right.

I said again because I saw part of this code and I thought that perhaps could be useful for my purpose:)

thanks anyway

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:22pm UTC](https://community.mp3tag.de/t/how-to-import-a-batch-of-covers-to-mp4-files/10310/4 "2026-02-09T12:22:19Z")

</div>


