CIM_DataFile, ROOT\CIMV2

Class | Childs (4) | Methods (14) | Properties (33) | Qualifiers (6) | Instances (80) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

CIM_DataFile is a type of logical file that is a named collection of data or executable code. The behavior of the provider backing this class will be changed in future releases. Currently the provider returns both files on fixed disks as well as files on mapped logical disks. In the future, only instances of files on local fixed disks will be returned.

CIM_DataFile - child subclasses in ROOT\cimv2

Number of classes:4
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_CodecFile0341410---
Win32_NTEventlogFile0391612---
Win32_PageFile03614----
Win32_ShortcutFile03414999---

CIM_DataFile methods

CIM_DataFile has 14 methods (14 Derived)

NameOriginReturn
ChangeSecurityPermissionsCIM_LogicalFileuint32 {'out':True}
ChangeSecurityPermissionsExCIM_LogicalFileuint32 {'out':True}
CompressCIM_LogicalFileuint32 {'out':True}
CompressExCIM_LogicalFileuint32 {'out':True}
CopyCIM_LogicalFileuint32 {'out':True}
CopyExCIM_LogicalFileuint32 {'out':True}
DeleteCIM_LogicalFileuint32 {'out':True}
DeleteExCIM_LogicalFileuint32 {'out':True}
GetEffectivePermissionCIM_LogicalFileboolean {'out':True}
RenameCIM_LogicalFileuint32 {'out':True}
TakeOwnerShipCIM_LogicalFileuint32 {'out':True}
TakeOwnerShipExCIM_LogicalFileuint32 {'out':True}
UncompressCIM_LogicalFileuint32 {'out':True}
UncompressExCIM_LogicalFileuint32 {'out':True}

CIM_DataFile properties

CIM_DataFile has 33 properties (2 Local, 31 Derived)

NameOriginCIMType
AccessMaskCIM_LogicalFile19 [uint32]
ArchiveCIM_LogicalFile11 [boolean]
CaptionCIM_ManagedSystemElement8 [string]
CompressedCIM_LogicalFile11 [boolean]
CompressionMethodCIM_LogicalFile8 [string]
CreationClassNameCIM_LogicalFile8 [string]
CreationDateCIM_LogicalFile101 [datetime]
CSCreationClassNameCIM_LogicalFile8 [string]
CSNameCIM_LogicalFile8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
DriveCIM_LogicalFile8 [string]
EightDotThreeFileNameCIM_LogicalFile8 [string]
EncryptedCIM_LogicalFile11 [boolean]
EncryptionMethodCIM_LogicalFile8 [string]
ExtensionCIM_LogicalFile8 [string]
FileNameCIM_LogicalFile8 [string]
FileSizeCIM_LogicalFile21 [uint64]
FileTypeCIM_LogicalFile8 [string]
FSCreationClassNameCIM_LogicalFile8 [string]
FSNameCIM_LogicalFile8 [string]
HiddenCIM_LogicalFile11 [boolean]
InstallDateCIM_ManagedSystemElement101 [datetime]
InUseCountCIM_LogicalFile21 [uint64]
LastAccessedCIM_LogicalFile101 [datetime]
LastModifiedCIM_LogicalFile101 [datetime]
ManufacturerCIM_DataFile8 [string]
key
Name
CIM_ManagedSystemElement8 [string]
PathCIM_LogicalFile8 [string]
ReadableCIM_LogicalFile11 [boolean]
StatusCIM_ManagedSystemElement8 [string]
SystemCIM_LogicalFile11 [boolean]
VersionCIM_DataFile8 [string]
WriteableCIM_LogicalFile11 [boolean]

Detailed description of CIM_DataFile methods

Derived methods (14) of CIM_DataFile class

ChangeSecurityPermissions method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
SecurityDescriptorobject:Win32_SecurityDescriptor0-{'In':True}
Optionuint321-{'BitMap':['0', '1', '2', '3'],'In':True}
Description'The ChangeSecurityPermissions method changes the security permissions for the logical file specified in the object path. If the logical file is actually a directory, then ChangeSecurityPermissions will act recursively, changing the security permissions of all the files and sub-directories the directory contains. ChangeSecurityPermissions returns an integer value of 0 if the permissions were changed, and any other number to indicate an error.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
ChangeSecurityPermissions method is in 9 classes of ROOT\cimv2 and in 2 namespaces
ChangeSecurityPermissionsEx method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
SecurityDescriptorobject:Win32_SecurityDescriptor0-{'in':True}
Optionuint321-{'BitMap':['0', '1', '2', '3'],'In':True}
StopFileNamestring2-{'Out':True}
StartFileNamestring3-{'In':True,'optional':True}
Recursiveboolean4-{'In':True,'optional':True}
Description'The ChangeSecurityPermissionsEx method changes the security permissions for the logical file specified in the object path. If the logical file is actually a directory, then this method will act recursively, changing the security permissions of all the files and sub-directories the directory contains. ChangeSecurityPermissionsEx returns an integer value of 0 if the permissions were changed, and any other number to indicate an error. The ChangeSecurityPermissionsEx method is an extended version of the ChangeSecurityPermissions method.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
ChangeSecurityPermissionsEx method is in 9 classes of ROOT\cimv2 and in 2 namespaces
Compress method
Returnuint32 {'out':True}
Description'The Compress method compresses the logical file (or directory) specified in the object path. Compress returns an integer value of 0 if the file was successfully compressed, and any other number to indicate an error.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
Compress method is in 9 classes of ROOT\cimv2 and in 2 namespaces
CompressEx method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
StopFileNamestring0-{'Out':True}
StartFileNamestring1-{'In':True,'optional':True}
Recursiveboolean2-{'In':True,'optional':True}
Description'The CompressEx method compresses the logical file (or directory) specified in the object path. CompressEx returns an integer value of 0 if the file was successfully compressed, and any other number to indicate an error. CompressEx is an extended version of the Compress method.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
CompressEx method is in 9 classes of ROOT\cimv2 and in 2 namespaces
Copy method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
FileNamestring0-{'In':True}
Description'The Copy method copies the logical file or directory specified in the object path to the location specified by the input parameter. Copy returns an integer value of 0 if the file was successfully copied, and any other number to indicate an error. A copy is not supported if overwriting an existing logical file is required.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
Copy method is in 9 classes of ROOT\cimv2 and in 2 namespaces
CopyEx method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
FileNamestring0-{'In':True}
StopFileNamestring1-{'Out':True}
StartFileNamestring2-{'In':True,'optional':True}
Recursiveboolean3-{'In':True,'optional':True}
Description'The CopyEx method copies the logical file or directory specified in the object path to the location specified by the FileName parameter. CopyEx returns an integer value of 0 if the file was successfully copied, and any other number to indicate an error. A copy is not supported if overwriting an existing logical file is required. CopyEx is an extended version of the Copy method.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
CopyEx method is in 9 classes of ROOT\cimv2 and in 2 namespaces
Delete method
Returnuint32 {'out':True}
Description'The Delete method will delete the logical file (or directory) specified in the object path. Delete returns an integer value of 0 if the file was successfully deleted, and any other number to indicate an error.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
Delete method is in 16 classes of ROOT\cimv2 and in 11 namespaces
DeleteEx method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
StopFileNamestring0-{'Out':True}
StartFileNamestring1-{'In':True,'optional':True}
Description'The DeleteEx method will delete the logical file (or directory) specified in the object path. DeleteEx returns an integer value of 0 if the file was successfully deleted, and any other number to indicate an error. DeleteEx is an extended version of the Delete method.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
DeleteEx method is in 9 classes of ROOT\cimv2 and in 2 namespaces
GetEffectivePermission method
Returnboolean {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Permissionsuint320-{'BitMap':['0', '1', '2', '3', '4', '5', '6', '7', '8', '16', '17', '18', '19', '20'],'In':True}
Description'The GetEffectivePermission method determines whether the caller has the aggregated permissions specified by the Permission argument not only on the file object, but on the share the file or directory resides on (if it is on a share).'
Privileges['SeSecurityPrivilege']
GetEffectivePermission method is in 9 classes of ROOT\cimv2 and in 2 namespaces
Rename method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
FileNamestring0-{'In':True}
Description'The Rename method renames the logical file (or directory) specified in the object path. Rename returns an integer value of 0 if the file was successfully renamed, and any other number to indicate an error. A rename is not supported if the destination is on another drive or overwriting an existing logical file is required
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
Rename method is in 12 classes of ROOT\cimv2 and in 10 namespaces
TakeOwnerShip method
Returnuint32 {'out':True}
Description'The TakeOwnerShip method obtains ownership of the logical file specified in the object path . If the logical file is actually a directory, then TakeOwnerShip will act recursively, taking ownership of all the files and sub-directories the directory contains.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
TakeOwnerShip method is in 9 classes of ROOT\cimv2 and in 3 namespaces
TakeOwnerShipEx method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
StopFileNamestring0-{'Out':True}
StartFileNamestring1-{'In':True,'optional':True}
Recursiveboolean2-{'In':True,'optional':True}
Description'The TakeOwnerShipEx method obtains ownership of the logical file specified in the object path. If the logical file is actually a directory, then this method will act recursively, taking ownership of all the files and sub-directories the directory contains. TakeOwnerShipEx returns an integer value of 0 on success, and any other number to indicate an error. TakeOwnerShipEx is an extended version of the TakeOwnerShip method.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
TakeOwnerShipEx method is in 9 classes of ROOT\cimv2 and in 2 namespaces
Uncompress method
Returnuint32 {'out':True}
Description'The Uncompress method uncompresses the logical file (or directory) specified in the object path. Uncompress returns an integer value of 0 if the file was successfully decompressed, and any other number to indicate an error.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
Uncompress method is in 9 classes of ROOT\cimv2 and in 2 namespaces
UncompressEx method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
StopFileNamestring0-{'Out':True}
StartFileNamestring1-{'In':True,'optional':True}
Recursiveboolean2-{'In':True,'optional':True}
Description'The UncompressEx method uncompresses the logical file (or directory) specified in the object path. UncompressEx returns an integer value of 0 if the file was successfully decompressed, and any other number to indicate an error. UncompressEx is an extended version of the Uncompress method.
It returns one of the following integer values:
0 - The request was successful.
2 - Access was denied.
8 - An unspecified failure occurred.
9 - The name specified was invalid.
10 - The object specified already exists.
11 - The file system is not NTFS.
12 - The platform is not Windows NT or Windows 2000.
13 - The drive is not the same.
14 - The directory is not empty.
15 - There has been a sharing violation.
16 - The start file specified was invalid.
17 - A privilege required for the operation is not held.
21 - A parameter specified is invalid.
'
ValueMap['0', '2', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '21']
Values['Success', 'Access Denied', 'Unspecified failure', 'Invalid object', 'Object already exists', 'File system not NTFS', 'Platform not NT/Windows 2000', 'Drive not the same', 'Directory not empty', 'Sharing violation', 'Invalid start file', 'Privilege not held', 'Invalid parameter']
UncompressEx method is in 9 classes of ROOT\cimv2 and in 2 namespaces

Detailed description of CIM_DataFile properties

Local properties (2) of CIM_DataFile class

Manufacturer property
CIMTYPE'string'
Description'Manufacturer string from version resource if one is present.'
DisplayName'Manufacturer'
readTrue
Schema'Win32'
Manufacturer property is in 54 classes of ROOT\cimv2 and in 17 namespaces
Version property
CIMTYPE'string'
Description'Version string from version resource if one is present.'
DisplayName'Version'
readTrue
Schema'Win32'
Version property is in 101 classes of ROOT\cimv2 and in 142 namespaces

Derived properties (31) of CIM_DataFile class

AccessMask property
BitMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '16', '17', '18', '19', '20']
BitValues['FILE_READ_DATA (file) or FILE_LIST_DIRECTORY (directory)', 'FILE_WRITE_DATA (file) or FILE_ADD_FILE (directory)', 'FILE_APPEND_DATA (file) or FILE_ADD_SUBDIRECTORY (directory)', 'FILE_READ_EA', 'FILE_WRITE_EA', 'FILE_EXECUTE (file) or FILE_TRAVERSE (directory)', 'FILE_DELETE_CHILD (directory)', 'FILE_READ_ATTRIBUTES', 'FILE_WRITE_ATTRIBUTES', 'DELETE', 'READ_CONTROL', 'WRITE_DAC', 'WRITE_OWNER', 'SYNCHRONIZE']
CIMTYPE'uint32'
Description'The AccessMask property is a bit array representing the access rights to the given file or directory held by the user or group on whose behalf the instance is returned. This property is only supported under Windows NT and Windows 2000. On Windows 98 and on Windows NT/2000 FAT volumes, FULL_ACCESS is returned, indicating no security has been set on the object.'
readTrue
AccessMask property is in 17 classes of ROOT\cimv2 and in 142 namespaces
Archive property
CIMTYPE'boolean'
Description'The Archive property is a boolean value indicating that the file should be archived.'
readTrue
Archive property is in 9 classes of ROOT\cimv2 and in 2 namespaces
Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
Compressed property
CIMTYPE'boolean'
Description'The Compressed property is a boolean value indicating that the file is compressed.'
readTrue
Compressed property is in 12 classes of ROOT\cimv2 and in 2 namespaces
CompressionMethod property
CIMTYPE'string'
Description'The CompressionMethod property is a free form string indicating the algorithm or tool used to compress the logical file. If it is not possible (or not desired) to describe the compression scheme (perhaps because it is not known), use the following words: "Unknown" to represent that it is not known whether the logical file is compressed or not, "Compressed" to represent that the file is compressed but either its compression scheme is not known or not disclosed, and "Not Compressed" to represent that the logical file is not compressed.'
readTrue
CompressionMethod property is in 24 classes of ROOT\cimv2 and in 5 namespaces
CreationClassName property
CIM_KeyTrue
CIMTYPE'string'
Description'The CreationClassName property is a string indicating the name of this class.'
readTrue
CreationClassName property is in 178 classes of ROOT\cimv2 and in 20 namespaces
CreationDate property
CIMTYPE'datetime'
Description'The CreationDate property is a datetime value indicating the file's creation date.'
readTrue
CreationDate property is in 11 classes of ROOT\cimv2 and in 4 namespaces
CSCreationClassName property
CIM_KeyTrue
CIMTYPE'string'
Description'The CSCreationClassName property is a string indicating the class of the computer system.'
Propagated'CIM_FileSystem.CSCreationClassName'
readTrue
CSCreationClassName property is in 27 classes of ROOT\cimv2 and in 2 namespaces
CSName property
CIM_KeyTrue
CIMTYPE'string'
Description'The CSName property is a string indicating the name of the computer system.'
Propagated'CIM_FileSystem.CSName'
readTrue
CSName property is in 28 classes of ROOT\cimv2 and in 2 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
Drive property
CIMTYPE'string'
Description'The Drive property is a string representing the drive letter (including colon) of the file. Example: c:'
FixedTrue
readTrue
Drive property is in 10 classes of ROOT\cimv2 and in 2 namespaces
EightDotThreeFileName property
CIMTYPE'string'
Description'The EightDotThreeFileName property is a string representing the DOS-compatible file name for this file.
Example: c:\progra~1'
readTrue
EightDotThreeFileName property is in 9 classes of ROOT\cimv2 and in 2 namespaces
Encrypted property
CIMTYPE'boolean'
Description'The Encrypted property is a boolean value indicating that the file is encrypted.'
readTrue
Encrypted property is in 10 classes of ROOT\cimv2 and in 3 namespaces
EncryptionMethod property
CIMTYPE'string'
Description'The EncryptionMethod property is a free form string indicating the algorithm or tool used to encrypt the logical file. If it is not possible (or not desired) to describe the encryption scheme (perhaps for security reasons), use the following words: "Unknown" to represent that it is not known whether the logical file is encrypted or not, "Encrypted" to represent that the file is encrypted but either its encryption scheme is not known or not disclosed, and "Not Encrypted" to represent that the logical file is not encrypted.'
readTrue
EncryptionMethod property is in 13 classes of ROOT\cimv2 and in 8 namespaces
Extension property
CIMTYPE'string'
Description'The Extension property is a string representing the file's extension (without the dot). Example: txt, mof, mdb.'
FixedTrue
readTrue
Extension property is in 11 classes of ROOT\cimv2 and in 5 namespaces
FileName property
CIMTYPE'string'
Description'The FileName property is a string representing the filename (without extension) of the file. Example: autoexec'
FixedTrue
readTrue
FileName property is in 21 classes of ROOT\cimv2 and in 23 namespaces
FileSize property
CIMTYPE'uint64'
Description'The FileSize property represents the size of the file (in bytes).'
readTrue
Units'bytes'
FileSize property is in 12 classes of ROOT\cimv2 and in 6 namespaces
FileType property
CIMTYPE'string'
Description'The FileType property is a string descriptor representing the file type (indicated by the Extension property).'
readTrue
FileType property is in 9 classes of ROOT\cimv2 and in 2 namespaces
FSCreationClassName property
CIM_KeyTrue
CIMTYPE'string'
Description'The FSCreationClassName property is a string indicating the class of the file system.'
Propagated'CIM_FileSystem.CreationClassName'
readTrue
FSCreationClassName property is in 9 classes of ROOT\cimv2 and in 2 namespaces
FSName property
CIM_KeyTrue
CIMTYPE'string'
Description'The FSName property is string indicating the name of the file system.'
Propagated'CIM_FileSystem.Name'
readTrue
FSName property is in 9 classes of ROOT\cimv2 and in 2 namespaces
Hidden property
CIMTYPE'boolean'
Description'The Hidden property is a boolean value indicating if the file is hidden.'
readTrue
Hidden property is in 10 classes of ROOT\cimv2 and in 5 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
MappingStrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 227 classes of ROOT\cimv2 and in 23 namespaces
InUseCount property
CIMTYPE'uint64'
Description'The InUseCount property is an integer indicating the number of 'file opens' that are currently active against the file.'
readTrue
InUseCount property is in 9 classes of ROOT\cimv2 and in 2 namespaces
LastAccessed property
CIMTYPE'datetime'
Description'The LastAccessed property is a datetime value indicating the time the file was last accessed.'
readTrue
LastAccessed property is in 9 classes of ROOT\cimv2 and in 2 namespaces
LastModified property
CIMTYPE'datetime'
Description'The LastModified property is a datetime value indicating the time the file was last modified.'
readTrue
LastModified property is in 9 classes of ROOT\cimv2 and in 4 namespaces
Name property
CIMTYPE'string'
Description'The Name property is a string representing the inherited name that serves as a key of a logical file instance within a file system. Full path names should be provided. Example: c:\winnt\system\win.ini'
keyTrue
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
Path property
CIMTYPE'string'
Description'The Path property is a string representing the path of the file. This includes leading and trailing backslashes. Example: \windows\system\'
FixedTrue
readTrue
Path property is in 14 classes of ROOT\cimv2 and in 30 namespaces
Readable property
CIMTYPE'boolean'
Description'The Readable property is a boolean value indicating if the file can be read.'
readTrue
Readable property is in 9 classes of ROOT\cimv2 and in 2 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 230 classes of ROOT\cimv2 and in 42 namespaces
System property
CIMTYPE'boolean'
Description'The system property is a boolean value indicating if the file is a system file.'
readTrue
System property is in 11 classes of ROOT\cimv2 and in 2 namespaces
Writeable property
CIMTYPE'boolean'
Description'The Writeable property is a boolean value indicating if the file can be written.'
readTrue
Writeable property is in 9 classes of ROOT\cimv2 and in 3 namespaces

CIM_DataFile Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'CIM_DataFile is a type of logical file that is a named collection of data or executable code.
The behavior of the provider backing this class will be changed in future releases. Currently the provider returns both files on fixed disks as well as files on mapped logical disks. In the future, only instances of files on local fixed disks will be returned.'
DisplayName'All Files (CIM)'
dynamicTrue
Locale1033
provider'CIMWin32'
UUID'{8502C55A-5FBB-11D2-AAC1-006008C78BC7}'

CIM_DataFile System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:CIM_DataFile'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_LogicalFile', 'CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT33___SYSTEM3
__RELPATH'CIM_DataFile'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'CIM_LogicalFile'___SYSTEM8
__CLASS'CIM_DataFile'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to CIM_DataFile

Number of classes:72
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
CIM_CopyFileAction1121---
CIM_DeviceAccessedByFile020---
CIM_DeviceFile03114---
CIM_DirectoryContainsFile02040---
CIM_DirectorySpecificationFile020---
CIM_FileAction391-40-
CIM_FileSpecification2151-40-
CIM_FileStorage020---
CIM_FileSystem2190---
CIM_HostedFileSystem020---
CIM_LocalFileSystem0190---
CIM_LogicalFile33114-40-
CIM_RemoteFileSystem1190---
CIM_RemoveFileAction1101-40-
MSFT_NetReadfileTimeout030---
Win32_CIMLogicalDeviceCIMDataFile04040---
Win32_CodecFile0341410---
Win32_DuplicateFileAction0131999---
Win32_FileScreenEvent0150---
Win32_FileSpecification0191999---
Win32_IniFileSpecification0201----
Win32_LogicalFileAccess070999---
Win32_LogicalFileAuditing070999---
Win32_LogicalFileGroup020999---
Win32_LogicalFileOwner020999---
Win32_LogicalFileSecuritySetting062999---
Win32_LogicalProgramGroupItemDataFile02040---
Win32_MoveFileAction0151----
Win32_NetworkLoginProfile032015---
Win32_NTEventlogFile0391612---
Win32_OfflineFilesAssociatedItems020----
Win32_OfflineFilesBackgroundSync060----
Win32_OfflineFilesCache03111--
Win32_OfflineFilesChangeInfo060----
Win32_OfflineFilesConnectionInfo020----
Win32_OfflineFilesDirtyInfo020----
Win32_OfflineFilesDiskSpaceLimit020----
Win32_OfflineFilesFileSysInfo0180----
Win32_OfflineFilesHealth050---
Win32_OfflineFilesItem0120----
Win32_OfflineFilesMachineConfiguration01501--
Win32_OfflineFilesPinInfo050----
Win32_OfflineFilesSuspendInfo020----
Win32_OfflineFilesUserConfiguration040---
Win32_PageFile03614----
Win32_PageFileElementSetting020----
Win32_PageFileSetting060----
Win32_PageFileUsage0901---
Win32_PatchFile020----
Win32_PerfFormattedData_Counters_FileSystemDiskActivity0110----
Win32_PerfFormattedData_CsvFsPerfProvider_ClusterCSVFileSystem0670----
Win32_PerfFormattedData_MSSQLMICROSOFTNumberNumberWID_MSSQLMICROSOFTNumberNumberWIDFileTable02901--
Win32_PerfFormattedData_MSSQLSERVER_SQLServerFileTable02901--
Win32_PerfFormattedData_OfflineFiles_ClientSideCaching0220---
Win32_PerfFormattedData_OfflineFiles_OfflineFiles0130---
Win32_PerfFormattedData_PerfOS_PagingFile01102---
Win32_PerfRawData_Counters_FileSystemDiskActivity0110----
Win32_PerfRawData_CsvFsPerfProvider_ClusterCSVFileSystem0730----
Win32_PerfRawData_MSSQLMICROSOFTNumberNumberWID_MSSQLMICROSOFTNumberNumberWIDFileTable03801--
Win32_PerfRawData_MSSQLSERVER_SQLServerFileTable03801--
Win32_PerfRawData_OfflineFiles_ClientSideCaching0220---
Win32_PerfRawData_OfflineFiles_OfflineFiles0150---
Win32_PerfRawData_PerfOS_PagingFile01302---
Win32_PnPSignedDriverCIMDataFile02040---
Win32_RemoveFileAction0141999---
Win32_RoamingProfileBackgroundUploadParams030----
Win32_RoamingProfileMachineConfiguration01801--
Win32_RoamingProfileSlowLinkParams020----
Win32_RoamingProfileUserConfiguration030---
Win32_SecuritySettingOfLogicalFile020999---
Win32_ShortcutFile03414999---
Win32_UserProfile029115---
comments powered by Disqus
WUtils.com