> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Run (wdRun.exe)

> Run (wdRun.exe)

Use this tool to run the specified command (along with any provided parameters) in the appropriate operating system.

`wdRun [/A] [/D:path] [/WTP[:sec]] [/WTO[:sec]] command `

| Option       | Description                                                                                                                                                                                                                                                                                     |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `/A`         | Return immediately after starting the command without waiting for completion                                                                                                                                                                                                                    |
| `/D:path`    | Specifies the working directory for the command                                                                                                                                                                                                                                                 |
| `/WTP[:sec]` | /WTP\[:sec] can be specified when run from the System OS to block until the Title process is ready for interaction. Default timeout is 180 seconds and can be configured by providing an optional timeout value in seconds(ex: /WTP:200). Use a value of -1 or 'infinite' to wait indefinitely. |
| `/WTO[:sec]` | /WTO\[:sec] can be specified when run from the System OS to block until the Title OS is ready for interaction. Default timeout is 180 seconds and can be configured by providing an optional timeout value in seconds(ex: /WTO:200). Use a value of -1 or 'infinite' to wait indefinitely.      |
| `/V`         | Show verbose output. This option will append information about where return values are coming from (whether the exit code is from the remotely run process or from wdRun).                                                                                                                      |
| `command`    | The command to run                                                                                                                                                                                                                                                                              |

## See also

[Console Command-line tools](/tools/tools-console/console_commandlinetools/consolecommandlinetools)

[XTF transport errors](/tools/tools-console/commandlinetools/xtf-transport-errors)


## Related topics

- [Console-based command-line tools](/tools/tools-console/console_commandlinetools/consolecommandlinetools.md)
- [Console-based command-line tools for XBOX](/tools/tools-console/console_commandlinetools/index.md)
- [XBOX PC Remote Tools FAQ and troubleshooting guide](/tools/tools-pc/xbox-pc-remote-tools/faq.md)
- [XBOX Gaming Explorer](/tools/tools-console/visualstudio/xbox-gaming-explorer.md)
- [XBOX PC Remote listening endpoint (wdEndpoint.exe)](/tools/tools-pc/commandlinetools/gr-wdEndpoint.md)
