Export (0) Print
Expand All

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.

68a74238-6879-4629-a283-05d65e2c96fd

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:
© 2015 Microsoft