Navigation:  OLE Automation > Application > Methods >

SpaceObServer.Application.ExportAllFiles

Previous pageReturn to chapter overviewNext page

Description

Exports a list of all files that are located in the selected directory (in any depth) to a plain text file.
 

Syntax

ExportAllFiles (ExportPath : <String>, AppendToFile : <Boolean>)
 

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.

AppendToFile

Indicates, if the export will be appended to an existing file, or if an existing file will be overwritten.

 
Example

SOS.ExportAllFiles "C:\Reports\SOS\ListOfFiles.txt", False

Creates a new plain text file named "ListOfFiles.txt" at "C:\Reports\SOS\". This new file will include the full path of all files located in the selected file system branch.