FolderExists Method (Shell Object)

Returns true if a specified folder exists; false if it does not.

[JavaScript]

b = shell.FolderExists( strFolder );

[VBScript]

b = shell.FolderExists( strFolder )

Parameters

strFolder

The name of the folder whose existance is to be determined.

Examples

[JavaScript]

b = shell.FolderExists( "C:\\\\Test\\\\folder" );

[VBScript]

b = shell.FolderExists( "C:\\Test\\folder" )

Version

Supported on EmEditor Professional Version 22.1 or later.