SpaceObServer.Application.XMLExport

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > Application > Methods >

SpaceObServer.Application.XMLExport

Description

Creates a XML report for the complete file system branch of the currently selected directory.
 

Syntax

XMLExport (ExportPath : <String>)
 

Parameters

ExportPath

The full path of the export file (including the exported file name).
You can use environment variables as well as "%DATE%" and "%TIME%" in the file path.

 
Example

$SOS.XMLExport("C:\Temp\SOS\report_%DATE%.xml") #PowerShell

SOS.XMLExport "C:\Temp\SOS\report_%DATE%.xml" 'VBS

Creates a report in XML format at "C:\Temp\SOS\" with the name "report_<dd_mm_yyyy>.xml", where <dd_mm_yyyy> is the date of the export.

 
Remarks

The XML report of SpaceObServer is always in the same fixed defined format and includes, always, the complete file system branch. No filter options or other configurations will take effect on the XML export.
XML reports generated by SpaceObServer can be used with TreeSize Professional. The XML report can also be shown in a browser of your choice.