File.Based on file name

Syntax:

New File(<Name>)

Parameters:

<Name> (required)

Type: String.
Full name of the file or directory which is linked to the object to be created.

Description:

Creates a new file object linked with the specified file.

Example:

Selection = New File(Selection);

    

1C:Enterprise Developer's Community