# Directory

The Directory statement defines which directory to look in for data files in subsequent LOAD statements, until a new Directory statement is made.

Syntax:

Directory[path]

If the Directory statement is issued without a path or left out, QlikView will look in the QlikView working directory.

[Working directory](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/working-directory.htm)

Arguments:

| Argument | Description |
| --- | --- |
| path | A text that can be<br>interpreted as the path to the data file.<br><br>The path is the path to the file, either:<br><br><ul> <li> <p> absolute </p> <p><span><span>Example: </span></span><span>c:\data\</span> </p> </li> <li> <p>relative to the <span>QlikView</span> document path.</p> <p><span><span>Example: </span></span><span>data\</span> </p> </li> <li> <p>URL address (<span>HTTP</span>  or <span>FTP</span>), pointing to a location on the Internet or an intranet. </p> <p><span><span>Example: </span></span><span>http://www.qlik.com</span> </p> </li> </ul> |

Example:

`DIRECTORY C:\userfiles\data; // OR -> DIRECTORY data\;
LOAD * FROM
[data1.csv] // ONLY THE FILE NAME CAN BE SPECIFIED HERE (WITHOUT THE FULL PATH)
(ansi, txt, delimiter is ',', embedded labels);
LOAD * FROM
[data2.txt] // ONLY THE FILE NAME CAN BE SPECIFIED HERE UNTIL A NEW DIRECTORY STATEMENT IS MADE
(ansi, txt, delimiter is '\t', embedded labels);`

## Learn more

* [Load](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Load.htm)