Back to Aurora Vision Studio website
	
                
                    
	
		
	You are here: Start » Filter Reference » System » File System » EnumerateFiles_Random
| Module: | FoundationLite | 
|---|
Enumerates the files present in a disk directory sorted randomly.
| Name | Type | Description | |
|---|---|---|---|
![]()  | 
				inDirectory | Directory | Input directory | 
![]()  | 
				inExtensions | String | Allowed extensions separated by semicolon | 
![]()  | 
				inSeed | int? | Random seed used to determine random sorting order | 
![]()  | 
				inRepeat | Bool | Determines whether to repeat reading directory after reading all files | 
![]()  | 
				inProcessSubdirectories | Bool | Flag indicating whether to enumerate files from the subdirectories or not | 
![]()  | 
				inInvert | Bool | Flag indicating whether to enumerate files backwards or not | 
![]()  | 
				outFilePath | File | Output file path | 
![]()  | 
				outFileName | String | Output file name | 
![]()  | 
				outIsFirst | Bool | Flag indicating the first iteration | 
![]()  | 
				outIsLast | Bool | Flag indicating the last iteration | 
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
| Error type | Description | 
|---|---|
| DomainError | Cannot sort by file creation date on Linux. | 
| DomainError | Directory doesn't exist: Directory path | 
| DomainError | Empty string is not a valid directory path. | 
Complexity Level
This filter is available on Basic Complexity Level.

 Basic
