| CIM_CopyFileAction | |||
| The CIM_CopyFileAction specifies files that exist on a computer system, and to move or copy those files to a new location. The to/from information for the copy is specified using either the CIM_ToDirectorySpecification/CIM_FromDirectorySpecification or the CIM_ToDirectoryAction/CIM_FromDirectoryAction associations. The first set is used when the source and/or the target are to exist before any actions are taken. The second set is used when the source and/or target are created as a part of a previous action. In the latter case, the action to create the directory must occur prior to the CIM_CopyFileAction object. | |||
| NameSpace Path | |||
| \ROOT\CIMV2 | |||
| PROPERTY | SMS_REPORT | CIMTYPE | DESCRIPTION |
| ActionID | String | The ActionID property is a unique identifier assigned to a particular action for a software element. | |
| Caption | String | NA | |
| DeleteAfterCopy | Boolean | Indicates whether to delete the source file after the copy operation. | |
| Description | String | A description of the object. | |
| Destination | String | The fully qualified destination filename. | |
| Direction | UInt16 | The Direction property indicates whether a particular CIM_Action object is part of a sequence of actions to transition the current software element to its next state, such as "Install" or to remove the current software element, such as "Uninstall". | |
| Name | String | Name is used to identify this software element | |
| SoftwareElementID | String | The SoftwareElementID is an identifier for this software element. | |
| SoftwareElementState | UInt16 | The SoftwareElementState indicates the state of a software element | |
| Source | String | The fully qualified source filename. | |
| TargetOperatingSystem | UInt16 | The TargetOperatingSystem indicates the target operating system of the owning software element. | |
| Version | String | Version should be in the form | |
| SAMPLE DATA INSTANCE | |||
|    [LOCALE(1033): ToInstance Amended]    instance of Win32_DuplicateFileAction    {     ActionID = "Dup_mscoree_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8{C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F}";     Caption = "Dup_mscoree_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8";     Description = "Dup_mscoree_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8";     FileKey = "Dup_mscoree_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8";     Source = "FL_mscoree_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8";    }; | |||