# Starting QlikView

Start QlikView from the Start menu, Programs or double-clicking on a QlikView document.

You can also start QlikView from the command line, using the parameters described in the following section.

## Command Line Syntax

The QlikView command line invocation can be described by the following syntax:

` [ path ]Qv.exe[ { switch } documentfile ]
                 `

`[ path ]`is the path to the file, either absolute or relative to the current directory.

`documentfile::= [ path ] documentfilename`

`documentfilename` is the name of the document file.

### Switches

You can use switches to start QlikView with different options.

Information noteThe switches /r, /rp, /l, /lp and /nodata are mutually exclusive. You can only use one of them in a command.

QlikView start switches

| Switch | Description |
| --- | --- |
| /r | Open the document, perform a reload and close QlikView. |
| /rp | Open the document , perform a partial reload and close QlikView. |
| /l | Open the document and perform a reload. |
| /lp | Open the document and perform a partial reload. |
| /nodata | Open the document without field and table data. |
| /v | Assign a value to a variable before script execution starts.<br><br>Syntax is: `/vVariableName=AssignedValue`<br><br>Example: `/vMyVariable=12`<br><br>Information noteIt is not possible to use `/v` together with `/nodata`. The value defined with `/v` will not be assigned. |
| /NoSecurity | Override QlikView security measures against hostile macros and scripts embedded in QlikView documents. Warning dialogs prompting the user to accept potentially harmful code will not be shown.<br><br>Warning noteWe recommend that you use this switch with caution, and only with well-known documents. |

Example:

qv.exe /r/vMyvar=123 abc.qvw

Tip note

In order to avoid error messages appearing when executing scripts in batch mode, set the script variable `errormode` to 0 in the script.

[Error variables](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ErrorVariables/ErrorVariables.htm)