# Copy filenames into description

**URL:** <https://resource.dopus.com/t/copy-filenames-into-description/37819>\
**Category:** Help & Support\
**Created:** [February 12, 2021, 4:33pm UTC](https://resource.dopus.com/t/copy-filenames-into-description/37819 "2021-02-12T16:33:14Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)\
**Post date:** [February 12, 2021, 6:49pm UTC](https://resource.dopus.com/t/copy-filenames-into-description/37819/5 "2021-02-12T18:49:51Z")

</div>

> [@Leo](#):
>
> I'm not sure how ExifTool's CR2 support is, but you might be able to make an Opus button which uses it

For those brave enough to edit raw files:

```
exiftool.exe "-usercomment<filename" -@ {allfilepath|filem}

```

> **Button as XML**
>
> ```auto
> <?xml version="1.0"?>
> <button backcol="none" display="both" label_pos="right" textcol="none">
> <label>Copy Filename to Comment</label>
> <icon1>#newcommand</icon1>
> <function type="batch">
> <instruction>@nodeselect</instruction>
> <instruction />
> <instruction>exiftool.exe &quot;-usercomment&lt;filename&quot; -@ {allfilepath|filem}</instruction>
> <instruction />
> <instruction>pause</instruction>
> </function>
> </button>
> 
> ```

> **How to**
>
> [How to use buttons and scripts from this forum](https://resource.dopus.com/t/how-to-use-buttons-and-scripts-from-this-forum/3546)

---

_[View the full topic](https://resource.dopus.com/t/copy-filenames-into-description/37819)._
