文件操作 - CIM_SWRFile.mof
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/mof/cimv2.43.0/Application/CIM_SWRFile.mof
编辑文件内容
// Copyright (c) 2005 DMTF. All rights reserved. [Experimental, Version ( "2.8.1000" ), UMLPackagePath ( "CIM::Application::SWResources" ), Description ( "This file is an software resource of software. It may be the " "internal view of an external LogicalFile which is controlled " "entirely or partially by the software." )] class CIM_SWRFile : CIM_SoftwareResource { [Override ( "IsAspect" ), Description ( "The default is that it is an aspect (value 2)." )] uint16 IsAspect = 2; [Override ( "ByReference" ), Description ( "The default is that item copies are in the file (value 2)." )] uint16 ByReference = 2; [Override ( "SoftwareResourceType" ), Description ( "The default is of course \'File\' (value 7)." )] uint16 SoftwareResourceType = 7; };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件