共用方式為


2.2.4.30 SMB_COM_SET_INFORMATION2 (0x22)

This command was introduced in the LAN Manager 1.0 dialect. This command is deprecated. New client implementations SHOULD use the SMB_COM_TRANSACTION2 (section 2.2.4.46) subcommand TRANS2_SET_FILE_INFORMATION (section 2.2.6.9).

This command MAY be sent by a client to set attribute information about an open file. The client MUST provide a valid FID in the SMB Header (section 2.2.3.1). The FID SHOULD have been acquired through a previously successful use of one of the SMB commands for opening a file. The client MUST have at least write permission on the file. The target file is updated from the values specified in the request. This command allows the client to set more attribute information for the file than the SMB_COM_SET_INFORMATION (section 2.2.4.10) command.