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:
|
||||||||||||||||||
file |
string |
The name of the file or folder that changed. |
||||||||||||||||||
file2 |
string |
The secondary name, if any. |
||||||||||||||||||
path |
The path the change occurred in. |
|||||||||||||||||||
path2 |
The secondary path, if any. |