title: Calling an .exe without the extension, but with -i
body: <p>I'm working on integrating the functions of a batch file into a larger PowerShell file (that does other things too) so I can eventually get rid of some smaller batch files.</p>
  
  <p>I came across a line that looks like this:</p>
  
  <pre><code>if exist "C:\path\thing.exe" 
  ("C:\path\thing" -i "C:\otherpath\something.dll")
  </code></pre>
  
  <p>What is it referencing in the second line when it says the .exe name but with no file extension?</p>
  
  <p><strong>EDIT</strong>: I ran a <code>/?</code> on the .exe, I think this might be relevant:</p>
  
  <pre><code>/i &lt;assembly_path&gt; [ /r &lt;...&gt; ] [ /f ]
      Installs an assembly to the global assembly cache. &lt;assembly_path&gt; is the
      name of the file that contains the assembly manifest.
      Example: /i myDll.dll /r FILEPATH c:\projects\myapp.exe "My App"
  </code></pre>
  
  <p>So I guess the <code>-i</code> is running the .exe using the .dll file as some kind of config file?</p>