Export (0) Print
Expand All

EXISTS Function (File)

Microsoft Dynamics Nav 2009

Use this function to determine if a file exists.


[Ok :=] File.EXISTS(Name)

Parameters

Name

Type: text or code

The name of the file you want to check, including the path. When you enter the path, keep in mind these shortcuts:

  • You can omit the drive designation, if the file is located on the current drive.

  • You can omit the full path, if the file is located in the current directory.

  • You can enter only the subdirectory name, if the file is located in a subdirectory of the current directory.

Type: Boolean

This return value shows whether the file exists.

true if the file exists; otherwise, false.

Community Additions

ADD
Show:
© 2014 Microsoft