4.4 Get File Attributes Example

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

Getting file attributes information

Figure 13: Getting file attributes 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 Windows 98 operating system client. The following operation was performed in an MS-DOS window:

 C:\> attrib y:\text.txt