Ext.FileExists()

(SBM On-Premise only) Determines whether the file specified in fileName exists.

Function Signature

 bool Ext.FileExists( fileName )

Parameters

Parameter Type Description

fileName

string

Use the fileName parameter to provide a fully-qualified path and file name. The fileName can be any valid file path, including a path to a network device.

Note: This function may fail due to permissions settings. Verify that accounts that will execute the script have permission to read the destination folder.

Return

Type Description

bool

Returns true if the file exists; false otherwise.

Technical Details

SBM ModScript version: 11.3.

Notes

None.

Related Topics

Extension Functions