# Auto copy

**URL:** https://community.mp3tag.de/t/auto-copy/2571
**Category:** General Discussion
**Created:** [December 3, 2005, 9:29am UTC](https://community.mp3tag.de/t/auto-copy/2571 "2005-12-03T09:29:37Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [December 3, 2005, 9:29am UTC](https://community.mp3tag.de/t/auto-copy/2571/1 "2005-12-03T09:29:37Z")

</div>

Is it possible to write script function, command or placeholder that can copy folder with images and css (from export directory in Mp3Tag for example) in a specifyed directory, so that I don't have to copy them manual every time when I export html file?

Please reply to me.  
Thanks ~ milka

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [January 7, 2006, 3:23pm UTC](https://community.mp3tag.de/t/auto-copy/2571/2 "2006-01-07T15:23:47Z")

</div>

Hi milka,

I'm sorry, but this is currently not planned. I'll add it on my internal wishlist though.

Best regards,  
~ Florian

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [January 7, 2006, 3:30pm UTC](https://community.mp3tag.de/t/auto-copy/2571/3 "2006-01-07T15:30:09Z")

</div>

Ok, you dont have to bother with that.  
It's my low priority request.

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [February 1, 2006, 12:03pm UTC](https://community.mp3tag.de/t/auto-copy/2571/4 "2006-02-01T12:03:47Z")

</div>

I am just wondering does anyone need (support) this feature?  
To me it wuold be very useful.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [February 1, 2006, 12:05pm UTC](https://community.mp3tag.de/t/auto-copy/2571/5 "2006-02-01T12:05:30Z")

</div>

Btw, bumping posts adds a minus vote on my internal wishlist 😛

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [February 1, 2006, 12:06pm UTC](https://community.mp3tag.de/t/auto-copy/2571/6 "2006-02-01T12:06:48Z")

</div>

I knew it. ![<_<](https://community.mp3tag.de/uploads/default/original/1X/5996dbb474c88b8f9fc49f09dc3858d081055a2d.gif "<\_<") lol

---

<div class="post-metadata">

### Author: ![cooterfrog](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/b4bc9f/32.png) [@cooterfrog](https://community.mp3tag.de/u/cooterfrog)
#### Post date: [January 22, 2007, 6:56pm UTC](https://community.mp3tag.de/t/auto-copy/2571/7 "2007-01-22T18:56:15Z")

</div>

$filename("txt")  
echo off

```
$loop(%_folderpath%,1)
echo moving %_folderpath%
if not EXIST "c:\music\\%artist%\" md "c:\music\\%artist%\"
if EXIST "%_folderpath%" move "%_folderpath%*.*" "c:\music\\%artist%\" 
if EXIST "%_folderpath%" rd "%_folderpath%"
$loopend()
pause

```

like this. its an export to a batch file.

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [January 22, 2007, 9:19pm UTC](https://community.mp3tag.de/t/auto-copy/2571/8 "2007-01-22T21:19:21Z")

</div>

Thanks cooterfrog for batch file, I will try it. 🙂

But it would be great if Florian could make it as script function so that I can use it in my exports,  
like function $filename creates filename of export file.

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [January 23, 2007, 9:18pm UTC](https://community.mp3tag.de/t/auto-copy/2571/9 "2007-01-23T21:18:37Z")

</div>

```
$filename(%_workingpath%copy files.bat)
echo off

echo coping c:\Documents and Settings\milka\Application Data\Mp3tag\export\Playground files\
if not EXIST "%_workingpath%Playground files" md "%_workingpath%Playground files\"
copy "c:\Documents and Settings\milka\Application Data\Mp3tag\export\Playground files\*.*" "%_workingpath%Playground files\" 
pause

```

This is what I wonted, thanks again for help. It would be great to see this as script function, as I sad earlier.

---

<div class="post-metadata">

### Author: ![milka](https://community.mp3tag.de/user_avatar/community.mp3tag.de/milka/32/55_2.png) [@milka](https://community.mp3tag.de/u/milka)
#### Post date: [January 28, 2007, 10:11am UTC](https://community.mp3tag.de/t/auto-copy/2571/10 "2007-01-28T10:11:35Z")

</div>

I have made new export in [Music Playground export](https://community.mp3tag.de/t/2422/4) (milkaPlayground\_03\_bat\_Music\_Playground\_Files\_Extractor.zip) that creates batch file for extracting images from cab in %appdata%\Mp3tag\export\ to workingdir.

Here is the code:

```
$filename(%_workingpath%%_workingdir% ---- Music Playground ----.bat,ansi)ECHO OFF

:Creates "_Music_Playground_Files_" directory
IF not EXIST "%_workingpath%_Music_Playground_Files_\" md "%_workingpath%_Music_Playground_Files_\"

:Unpack files from "milkaPlayground 04 Music Playground Files.cab" to "_Music_Playground_Files_" directory
EXPAND "'%'appdata'%'\Mp3tag\export\milkaPlayground 04 Music Playground Files.cab" -f:* "_Music_Playground_Files_"

:Deletes created batch file
DEL "%_workingpath%%_workingdir% ---- Music Playground ----.bat
```
