# Copy escaped paths

**URL:** https://resource.dopus.com/t/copy-escaped-paths/15555
**Category:** Help & Support
**Created:** [April 23, 2013, 12:05am UTC](https://resource.dopus.com/t/copy-escaped-paths/15555 "2013-04-23T00:05:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dh59](https://resource.dopus.com/letter_avatar_proxy/v4/letter/d/7ab992/32.png) [@dh59](https://resource.dopus.com/u/dh59)
#### Post date: [April 23, 2013, 12:05am UTC](https://resource.dopus.com/t/copy-escaped-paths/15555/1 "2013-04-23T00:05:29Z")

</div>

cant the new modifier escbackslash modifier be used with the COPYNAMES=unc command to escape all the backslashes?

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [April 23, 2013, 12:52am UTC](https://resource.dopus.com/t/copy-escaped-paths/15555/2 "2013-04-23T00:52:31Z")

</div>

Here's a (different) way to do that, using a couple of regular expressions to double the backslashes:

```auto
Clipboard COPYNAMES=unc REGEXP ^\\\\(.*)$ \\\\\\\\\1 ^(.*[^\\])\\([^\\].*)$# \1\\\\\2
```
