title: FolderItem.Name does return name without file extension
body: <ol>
  <li>Create file, lets say at <code>C:\randomname\file.txt</code>,</li>
  <li><p>Now run the following script via PowerShell:</p>
  
  <pre><code>$shell = new-object -com shell.application  
  $folder = $shell.NameSpace("C:\randomname")  
  $folder.Items() | where {$_.Name -eq "file.txt"}
  </code></pre></li>
  <li><p>Observe no output is produced which is rather unexpected.</p></li>
  </ol>
  
  <p>Any idea how to resolve this situation in a reasonable manner other than modifying Windows settings?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>To prevent confusion, this is just a stripped down version of my actual problem. Reason why I am using <code>shell.application</code> and not <code>Get-ChildItem</code> is that my <code>randomname</code> folder is actually zipped, i.e. I have <code>randomname.zip</code> and my actual code looks like this:</p>
  
  <pre><code>$shell = new-object -com shell.application  
  $zip = $shell.NameSpace("C:\randomname.zip")  
  $folder = $zip.Items() | where {$_.Name -eq "randomname"}
  $folder.GetFolder.Items() | where {$_.Name -eq "file.txt"}
  </code></pre>