You copied the Doc URL to your clipboard.

# usecase list

Lists use case scripts.

By default, the command lists all the use case scripts in the current working directory.

### Syntax

``` usecase list [-p | -s | -a | directory] ```

Where:

-p

Lists all the use case scripts associated with the current platform. The use case scripts must in the same directory where the DTSL scripts and .rvc file for the current platform are stored in the DS-5 Configuration databases.

-s

Lists all the use case scripts in the Scripts\usecase directory in the DS-5 Configuration databases.

-a

Lists all the use case scripts that are in any of these categories:

• In the current working directory.

• Associated with the current platform.

• In the Scripts directory in the DS-5 Configuration databases.

`directory`

Lists all the use case scripts in the specified directory.

## Example 1-222 Examples

```usecase list                     # Lists all the use case scripts in the current working directory
usecase list -p                  # Lists all the use case scripts for the current platform
usecase list -s                  # Lists all the use case scripts in the Scripts\usecase folder in the DS-5 Configuration databases
usecase list c:\usecase\scripts  # Lists all the use case scripts in c:\usecase\scripts
usecase list scripts             # Lists all the use case scripts in the scripts folder in the current working directory
```