Sidebar

reference:scripting_reference:scripting_objects:filechange

The FileChange object provides information about a file changed by a command. If you set the Command.logchanges property to true, a collection of any file changes can be obtained from the Command.results property once the command is complete.

Property Name Return Type Description

action

string

Returns a string indicating the type of file change:

createA file was created.
createunknownA file or directory was created.
changeA file was modified.
changewriteA file was written to.
delfileA file was deleted.
deldirA directory was deleted.
delunknownA file or directory was deleted.
makedirA directory was created.
renameA file or folder was renamed.

file

string

The name of the file or folder that changed.

file2

string

The secondary name, if any.

path

Path

The path the change occurred in.

path2

Path

The secondary path, if any.