4.5 Set File Attributes Example

This example illustrates the process of setting attribute information for a file. An SMB connection and an SMB session are already assumed to have been successfully completed.

Setting file attribute information

Figure 14: Setting file attribute information

The share used here was served from Windows NT Server 4.0 operating system Service Pack 6a (SP6a). It was mapped as drive Y: on a Microsoft Windows 98 operating system client. The operation performed was in an MS-DOS window:

 C:\> attrib +r y:\text.txt
Show: