# Create Folders and Copy to DEST

**URL:** <https://resource.dopus.com/t/create-folders-and-copy-to-dest/37661>\
**Category:** Help & Support\
**Tags:** commands\
**Created:** [January 22, 2021, 9:30am UTC](https://resource.dopus.com/t/create-folders-and-copy-to-dest/37661 "2021-01-22T09:30:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manfredima](https://resource.dopus.com/user_avatar/resource.dopus.com/manfredima/32/38278_2.png) [@manfredima](https://resource.dopus.com/u/manfredima)\
**Post date:** [January 22, 2021, 9:30am UTC](https://resource.dopus.com/t/create-folders-and-copy-to-dest/37661/1 "2021-01-22T09:30:27Z")

</div>

Hi. About **Command Editor**.

I made a button with  
`CreateFolder NAME = one two three`  
It worked. I get 3 new selected folders.

But I need to copy this selected folders to DESTINATION too.  
I added _Copy_ command:

```auto
CreateFolder NAME = one two three
Copy

```

It not worked 😟  
Nothing happens at all.  
Why?

And is there some kind of debagging mode?

---

<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:** [January 22, 2021, 9:47am UTC](https://resource.dopus.com/t/create-folders-and-copy-to-dest/37661/2 "2021-01-22T09:47:38Z")

</div>

The `Copy` command, without any other arguments, copies the selected files and folders to the destination. It doesn't copy whatever the previous command created.

If nothing is selected, a button with the Copy command won't run at all (in general).

If you want to create folders in both the source and destination, you can do that directly:

```nohighlight
CreateFolder one two three {destpath$}one {destpath$}two {destpath$}three

```
