The `MOVE` keyword relocates or renames files within the bot's drive storage.
---
## Syntax
```basic
MOVE "source" TO "destination"
result = MOVE "source" TO "destination"
```
---
## Parameters
| Parameter | Type | Description |
|-----------|------|-------------|
| `source` | String | Current path of the file |
| `destination` | String | New path for the file |
---
## Description
`MOVE` transfers a file from one location to another within the bot's storage. The original file is removed after the move completes. This keyword can also be used to rename files by moving them to a new name in the same directory.
Use cases include:
- Organizing files into folders
- Renaming files
- Archiving processed files
- Moving uploads to permanent storage
---
## Examples
### Basic File Move
```basic
' Move a file to a different folder
MOVE "inbox/document.pdf" TO "processed/document.pdf"
TALK "File moved to processed folder"
```
### Rename a File
```basic
' Rename by moving to same directory with new name
MOVE "reports/report.pdf" TO "reports/sales-report-2025.pdf"
TALK "File renamed successfully"
```
### Move After Processing
```basic
' Process file then move to archive
content = READ "incoming/data.csv"
' ... process the data ...
MOVE "incoming/data.csv" TO "archive/data-" + FORMAT(NOW(), "YYYYMMDD") + ".csv"
- [LIST](keyword-list.md) — List directory contents
- [UPLOAD](keyword-upload.md) — Upload files to storage
---
## Summary
`MOVE` relocates or renames files within storage. The original file is removed after the move. Use it to organize files, rename documents, archive processed data, and manage user uploads. Destination directories are created automatically.