SpaceObServer.Application.ExpandToLevel

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > Application > Methods >

SpaceObServer.Application.ExpandToLevel

Description

Expands the file system branch of the current root directory to the passed level.
 

Syntax

ExpandToLevel (ExpandLevel : <Integer>)
 

Parameters

ExpandLevel

Defines, up to which level the directory branch should be displayed.

 
Example

$SOS.ExpandToLevel("2") #PowerShell

SOS.ExpandToLevel 2 'VBS

Expands the current directory branch up to the 2nd level.

 
Remarks

All exports of the directory tree, except of the XMLExport, will consider only expanded directories when using False as ExportFullBranch parameter.