ViewType

<< Click to Display Table of Contents >>

Navigation:  OLE Automation > Application > Options >

ViewType

Description

Sets the displayed view type which is used for the exports of the directory tree and parts of the lists.

Syntax

SetOption ViewType: <Integer>;

 
Example

$SOS.SetOption("ViewType", 2) #PowerShell

SOS.SetOption "ViewType", 2 'VBS

Sets the view type for the directory tree to "Size".

 
Remarks

Supported values:

Value

Description

0

"Name"

2

"Size"

3

"Allocated space"

4

"Percent"

7

"Number of files"