title: VBScript - relative path not working
body: <p>I'm trying to use a relative path to reference a cab file named wsusscn2.cab from a VBscript. For some reason, it's not working. The wsusscn2.cab is located in the same directory as the script. Based on the documentation I've read, this SHOULD work, but doesn't:</p>
  
  <pre><code>Set UpdateSession = CreateObject("Microsoft.Update.Session")
  Set UpdateServiceManager = CreateObject("Microsoft.Update.ServiceManager")
  Set UpdateService = UpdateServiceManager.AddScanPackageService("Offline Sync Service", "..\wsusscn2.cab")
  Set UpdateSearcher = UpdateSession.CreateUpdateSearcher()
  
  WScript.Echo "Searching for updates..." &amp; vbCRLF
  
  UpdateSearcher.ServerSelection = 3 ' ssOthers
  
  UpdateSearcher.ServiceID = UpdateService.ServiceID
  
  Set SearchResult = UpdateSearcher.Search("IsInstalled=0")
  
  Set Updates = SearchResult.Updates
  
  If searchResult.Updates.Count = 0 Then
      WScript.Echo "There are no applicable updates."
      WScript.Quit
  End If
  
  WScript.Echo "List of applicable items on the machine when using wssuscan.cab:" &amp; vbCRLF
  
  For I = 0 to searchResult.Updates.Count-1
      Set update = searchResult.Updates.Item(I)
      WScript.Echo I + 1 &amp; "&gt; " &amp; update.Title
  Next
  
  WScript.Quit
  </code></pre>
  
  <p>Generates this error: <code>The system cannot find the path specified.</code></p>