title: VBS - file not found
body: <p>I am trying to chceck if my PC does have for example outlook.exe in directory (it does) but when running code FileExists aperently return me false which cases me to show message that file doen't exist. Can you help me?</p>
  
  <pre><code>Set fso = CreateObject("Scripting.FileSystemObject")
  Set WshShell = WScript.CreateObject( "WScript.Shell" )
  
  outlook15 = "%ProgramFiles(x86)%\Microsoft Office\Office15\outlook.exe"
  
  If (fso.FileExists("%ProgramFiles(x86)%\Microsoft Office\Office15\OUTLOOK.exe")) Then  
      msgbox outlook15 &amp; " exists."
  Else
      msgbox outlook15 &amp; "doesn't exists."    
  End If
  </code></pre>