Documentation Center

PslUserFiles.Extract

Extracts an embedded user file from the project to a directory. Returns True, if the operation was successful. False indicates an error.

Syntax

Expression.Extract (Index as Variant, Path as String, Remove as Variant, Overwrite as Variant) as Boolean

Expression Object of type PslUserFiles

Index The index or the name of the user file. The first task has the index 1

Path The path of an existing directory. This file will be extracted to this directory.

Remove optional, default = FALSE, determines if the user file is removed from the project after extraction

Overwrite optional, default = FALSE, determines if an existing file is overwritten when extracting user file