FileSystem.DirectoryList(String) Method

Top 

Description

Lists the names of files and folders contained within the specified path.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

FileSystem.DirectoryList(

String path)

 

 

Arguments

path


Description:

The path to the directory whose contents are to be listed.

 

 

 

Return Value

Type:

Array of string

 

 

Returns a StringArray populated with the names of files an directories contained within the specified directory.

 

Syntax

myStringArray1 = FileSystem.DirectoryList(myString1);

 

 

See also

FileSystem Object

FileSystem.DirectoryList

Interfacing with Files Guide