| Win32_ShortcutFile | |||
| The Win32_ShortcutFile class represent files that are shortcuts to other files, directories, and commands. | |||
| NameSpace Path | |||
| \ROOT\CIMV2 | |||
| PROPERTY | SMS_REPORT | CIMTYPE | DESCRIPTION |
| AccessMask | UInt32 | 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. | |
| Archive | Boolean | The Archive property is a boolean value indicating that the file should be archived. | |
| Caption | String | The Caption property is a short textual description (one-line string) of the object. | |
| Compressed | Boolean | The Compressed property is a boolean value indicating that the file is compressed. | |
| CompressionMethod | String | 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. | |
| CreationClassName | String | The CreationClassName property is a string indicating the name of this class. | |
| CreationDate | DateTime | The CreationDate property is a datetime value indicating the file's creation date. | |
| CSCreationClassName | String | The CSCreationClassName property is a string indicating the class of the computer system. | |
| CSName | String | The CSName property is a string indicating the name of the computer system. | |
| Description | String | The Description property provides a textual description of the object. | |
| Drive | String | The Drive property is a string representing the drive letter (including colon) of the file. Example: c: | |
| EightDotThreeFileName | String | The EightDotThreeFileName property is a string representing the DOS-compatible file name for this file. Example: c:\progra~1 | |
| Encrypted | Boolean | The Encrypted property is a boolean value indicating that the file is encrypted. | |
| EncryptionMethod | String | 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. | |
| Extension | String | The Extension property is a string representing the file's extension (without the dot). Example: txt, mof, mdb. | |
| FileName | String | The FileName property is a string representing the filename (without extension) of the file. Example: autoexec | |
| FileSize | UInt64 | The FileSize property represents the size of the file (in bytes). | |
| FileType | String | The FileType property is a string descriptor representing the file type (indicated by the Extension property). | |
| FSCreationClassName | String | The FSCreationClassName property is a string indicating the class of the file system. | |
| FSName | String | The FSName property is string indicating the name of the file system. | |
| Hidden | Boolean | The Hidden property is a boolean value indicating if the file is hidden. | |
| InstallDate | DateTime | 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. | |
| InUseCount | UInt64 | The InUseCount property is an integer indicating the number of 'file opens' that are currently active against the file. | |
| LastAccessed | DateTime | The LastAccessed property is a datetime value indicating the time the file was last accessed. | |
| LastModified | DateTime | The LastModified property is a datetime value indicating the time the file was last modified. | |
| Manufacturer | String | Manufacturer string from version resource if one is present. | |
| Name | String | 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 | |
| Path | String | The Path property is a string representing the path of the file. This includes leading and trailing backslashes. Example: \windows\system\ | |
| Readable | Boolean | The Readable property is a boolean value indicating if the file can be read. | |
| Status | String | 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. | |
| System | Boolean | The system property is a boolean value indicating if the file is a system file. | |
| Target | String | The Target property indicates the name of the object that this is a shortcut to. | |
| Version | String | Version string from version resource if one is present. | |
| Writeable | Boolean | The Writeable property is a boolean value indicating if the file can be written. | |
| SAMPLE DATA INSTANCE | |||
|    [LOCALE(1033): ToInstance Amended]    instance of Win32_ShortcutFile    {     AccessMask = 2032127;     Archive = FALSE;     Caption = "c:\\documents and settings\\administrator\\application data\\microsoft\\internet explorer\\quick launch\\launch internet explorer browser.lnk";     Compressed = FALSE;     CreationClassName = "CIM_LogicalFile";     CreationDate = "20091214233521.593750-480";     CSCreationClassName = "Win32_ComputerSystem";     CSName = "SCCM01";     Description = "c:\\documents and settings\\administrator\\application data\\microsoft\\internet explorer\\quick launch\\launch internet explorer browser.lnk";     Drive = "c:";     EightDotThreeFileName = "c:\\documents and settings\\administrator\\application data\\microsoft\\internet explorer\\quick launch\\launch~1.lnk";     Encrypted = FALSE;     Extension = "lnk";     FileName = "Launch Internet Explorer Browser";     FileSize = "815";     FileType = "Shortcut";     FSCreationClassName = "Win32_FileSystem";     FSName = "NTFS";     Hidden = FALSE;     InstallDate = "20091214233521.593750-480";     LastAccessed = "20110330143141.210395-420";     LastModified = "20100425053536.606571-420";     Name = "c:\\documents and settings\\administrator\\application data\\microsoft\\internet explorer\\quick launch\\launch internet explorer browser.lnk";     Path = "\\documents and settings\\administrator\\application data\\microsoft\\internet explorer\\quick launch\\";     Readable = TRUE;     Status = "OK";     System = FALSE;     Target = "C:\\Program Files\\Internet Explorer\\iexplore.exe";     Writeable = TRUE;    }; | |||