> For the complete documentation index, see [llms.txt](https://astro-rpa.gitbook.io/astro-rpa-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://astro-rpa.gitbook.io/astro-rpa-user-guide/g_elements/el_basic/els_files/el_files_move.md).

# Move file

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-16fe17ef234f0a75f66653bd0d591d691075f801%2Fimage%20\(114\).png?alt=media)

Element that moves a file

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-224ae2277205f59e933867603fd5e9047a2c7d28%2F1%20\(97\).png?alt=media)

Properties

\- Source\*: \[String] Path to a source file (c:\folder\file1.txt)

\- Destination\*: \[String] Path to a destination file (c:\folder\file2.txt)

\- Rewrite: \[Boolean] Sign of destination file rewriting

```
C#
System.IO.File.Move(@"C:\from", @"C:\to");

Python
System.IO.File.Move("C:\\from", "C:\\to")

JavaScript
_lib.System.IO.File.Move("C:\\from", "C:\\to");
```
