
In this article I will describe the attributes of files such as archive, directory, hidden, normal, read only, system, temporary. These all attributes are in the Boolean form(means a file is in hidden mode or not etc). Beside this I will also discuss that how to get the size of a file, Get the full path of a file.All these Information will be get or Set by OS System services. Get the File Size. GetFileSize is the API in Windows System service which provide us the size of file in bytes or 0xFFFFFFFF if there is an error. FAT supports only 32 bit size (the maximum size of a file can be represented by 32 bits) But the NTFS file system..
|