# Text file - TAG

**URL:** <https://community.mp3tag.de/t/text-file-tag/9793>\
**Category:** Support\
**Created:** [January 30, 2010, 12:03pm UTC](https://community.mp3tag.de/t/text-file-tag/9793 "2010-01-30T12:03:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sorenb](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@sorenb](https://community.mp3tag.de/u/sorenb)\
**Post date:** [January 30, 2010, 12:03pm UTC](https://community.mp3tag.de/t/text-file-tag/9793/1 "2010-01-30T12:03:25Z")

</div>

I have compiled a string of TAG values I'd like to export to be manipulated with in Excel and then imported again.  
I am using this script for the exporting:  
"$filename(csv,ANSI)Filename;New;Path;Tag;Title;Artist;AlbumArtist;AlbumArt;A  
lbum;Track;Discnumber;UPC;Year;Genre;Comment;Composer;BPM;Cover;Codec;Bitrate;Fr  
e  
quency;Length;VBR;Mode;Size;Modified;  
$loop(%\_filename\_ext%)%\_filename\_ext%;%new%;%\_folderpath%;%\_tag%;%title%;%artist%;%albumartist%;%albumart%;%album%;%track%;%discnumber%;%UPC%;%year%;%genre%;%comment%;%Composer%;%\_bitrate%;%cover%;%\_codec%;%\_bitrate%;%frequency%;%\_length%;%\_vbr%;%\_mode%;%\_file\_size\_mb%;%\_file\_mod\_date%;  
$loopend()build on %\_date% with %\_app% - the universal Tag editor - [http://www.mp3tag.de/en/"](http://www.mp3tag.de/en/%22)

Everything wihtin Excel seems good the various TAGs are display in the correct column.

When doing the import I copy the string from the script:  
"%\_filename\_ext%;%new%;%\_folderpath%;%\_tag%;%title%;%artist%;%albumartist%;%albumart%;%album%;%track%;%discnumber%;%UPC%;%year%;%genre%;%comment%;%Composer%;%\_bitrate%;%cover%;%\_codec%;%\_bitrate%;%frequency%;%\_length%;%\_vbr%;%\_mode%;%\_file\_size\_mb%;%\_file\_mod\_date%;"

This gives me a lot of 'Cannot pass line xx ...  
I have tried to move the variables around, remove some ';' and put in some %dummy% to get things to align properly but it seems that I end up in a situation where the firste line is being used as input for the filename in the second line....so everything is sort of mis-aligned one line.

What is the proper way to do this export og TAG values into e CSV file and the do an import again?

/S

[csv\_2nd.mte](https://community.mp3tag.de/uploads/default/original/2X/5/5a767490dfa214dd7bfa1be59f3141714dc2ee05.mte) (504 Bytes)

[Bach\_Chopin.txt](https://community.mp3tag.de/uploads/default/original/2X/e/e2bf3606133a86e171a31a7ccb65ea5d52781030.txt) (14 KB)

---

_[View the full topic](https://community.mp3tag.de/t/text-file-tag/9793)._
