> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab-5/notebook-operations/data/copy-path-functionality.md).

# Copy Path Functionality

This page explains the Copy Path functionality for the added data.

The Copy Path operation can access Sandbox files uploaded with various file types inside the Data Science Notebook.

A file and the **Data Sandbox environment variable** (@SYS.DATASANDBOX\_PATH) can be generated with the **Copy Path** functionality and accessed inside the Data Science Notebooks.

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The **Copy Path** functionality can be used to read Sandbox files. The supported File types for the Copy Path functionality are **txt,*** ***png**, **jpg**, **jpeg,*** ***xls**, **xlsm,** and **mp4**.*
{% endhint %}

{% hint style="success" %}
*Check out the walk-through on using the Copy Path functionality inside a Data Science Notebook.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2Ftjz1FuBDc8oVSyMRdUuu%2FCopy%20Path%20for%20the%20sandbox%20files%20V2.mp4?alt=media&token=369f0bef-38a7-4e73-87ec-13cebddcbd6d>" %}
***Using Copy Path functionality***
{% endembed %}

* Navigate to a Data Science Notebook page.
* Select a Code cell.
* Open the ***Data*** tab.
* Select a Sandbox file with the supported file types (**txt**, **png**, **jpg**, **jpeg**, **xls**, **xlsm**, and **mp4)**.
* Click the ***Ellipsis*** icon.
* Choose the ***Copy Path*** option.     &#x20;

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2F38RVX8JvEBDh3vtdSL6D%2Fimage.png?alt=media&amp;token=8517e5a9-a2cb-4458-a8d1-e3173dc8a65b" alt=""><figcaption></figcaption></figure>

* It will provide the file path in the new code cell with the ***Data Sandbox Environment Variable.***
* Run the cell.
* It will display the same path below, after the successful run.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FAQdC1UpoOKkr48kBdeBi%2Fimage.png?alt=media&amp;token=e635f361-3642-4548-8b11-b7b87ba73695" alt=""><figcaption></figcaption></figure>

* Provide the code to read the file data from the file path.
* Run the cell.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2F8XjmH3urCOc2w4cr2UbR%2Fimage.png?alt=media&amp;token=157e09ca-f66e-4a20-b116-4cfc2949ae64" alt=""><figcaption></figcaption></figure>

* The file data will be accessed and displayed below.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2F0zxAbSz8KWEedjxPFC2r%2Fimage.png?alt=media&amp;token=b3607ec5-8bdc-48d0-a3ea-46a1a20ab56d" alt=""><figcaption></figcaption></figure>
