# Executing the Start Command Execution Plug-in

You can start an external command as follows.
Procedure
1.
In Desk, click the [Start Command Execution] plug-in button in the toolbar or the task toolbar.
If a file was set to be passed, select the file according to that setting, and then click the button.
The command of the path set in [Path Name] is executed.
Also, the selected file name is passed as a command parameter according to [Start-up Directory].
Note

- If [Execute parallel] is selected in the [Setup Command Execution] dialog box, the file selected when starting up the external command can be manipulated in Desk even while it is used by the external command. However, if [Pass Selected Documents] is selected in [Setup Document Parameters] along with [Execute parallel], we recommend not to manipulate the document while it is used by the external command.
- When the external command is set to handle files of other formats, shortcuts, and folders, you can select them as well as the DocuWorks documents and binders.
- If [Execute parallel] is selected in the [Setup Command Execution] dialog box, you can continue to use Desk while the external command is running.
- If command line options are specified, they overwrite the following values and are passed to the command as parameters.

- %F File name
- %P Current page
- %D A directory path name corresponding to the currently opened folder in Desk
  If %P of the current page is specified when Desk is in list view, specify the page number to pass to the external command when the [Page Selection] dialog box appears. Also, when you select a file other than a DocuWorks document or binder, it will be overwritten even if %P is specified.