# C1.C1Preview.C1LinkTargetFile.Command

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1LinkTargetFile_Command_" data-uid="C1.C1Preview.C1LinkTargetFile.Command*">Command Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1LinkTargetFile_Command_" data-uid="C1.C1Preview.C1LinkTargetFile.Command*"></a>
<h4 id="C1_C1Preview_C1LinkTargetFile_Command" data-uid="C1.C1Preview.C1LinkTargetFile.Command">Command</h4>
<div class="markdown level1 summary"><p>Gets the command (verb) specifying the action to perform when the link is clicked.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string Command { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property Command As String</code></pre>
</div>
<h5 id="C1_C1Preview_C1LinkTargetFile_Command_remarks">Remarks</h5>
<div class="markdown level1 remarks"><pre><code>&lt;p&gt;The set of available verbs depends on the particular file or folder. 
</code></pre>
<p>Generally, the actions available from an object's shortcut menu are
available verbs.</p>
<p>For more information about verbs and their availability, see Object Verbs.
See Extending Shortcut Menus for further discussion of shortcut menus.</p>
<p>The following verbs are commonly used.</p>
<table><tbody><tr><td class="term">edit</td></tr><tr><td class="term">explore</td><td class="description">Explores the folder specified by FileName.</td></tr><tr><td class="term">find</td><td class="description">Initiates a search starting from the specified directory.</td></tr><tr><td class="term">open</td><td class="description">Opens the file specified by the FileName parameter.
The file can be an executable file, a document file, or a folder.</td></tr><tr><td class="term">print</td><td class="description">Prints the document file specified by FileName.
If FileName is not a document file, the function will fail.</td></tr><tr><td class="term">Empty string</td><td class="description">For systems prior to Microsoft? Windows? 2000, the default verb is used
if it is valid and available in the registry. If not, the &quot;open&quot; verb is used.
For Windows 2000 and later systems, the default verb is used if available.
If not, the &quot;open&quot; verb is used. If neither verb is available,
the system uses the first verb listed in the registry.</td></tr></tbody></table>
</div>
</div>
