好像ntfs的分区格式多了很多文件属性,如什么“压缩磁盘空间……”
现在想问一下,我用delphi5怎么得到这些属性
然后,我怎样才能去掉这些属性
完了
不吝赐教

解决方案 »

  1.   

    这些东西要会WINDOWS的active directory编程才能知道的,嘻,可惜我不会
      

  2.   

    Windows.pasfunction DeviceIoControl(hDevice: THandle; dwIoControlCode: DWORD; lpInBuffer: Pointer;
      nInBufferSize: DWORD; lpOutBuffer: Pointer; nOutBufferSize: DWORD;
      var lpBytesReturned: DWORD; lpOverlapped: POverlapped): BOOL; stdcall;详细说明,参考MSDN部分Device I/O Control CodesValue                   Meaning 
    FSCTL_GET_COMPRESSION   Obtains the compression state of a file or directory 
    FSCTL_SET_COMPRESSION   Sets the compression state of a file or directory. 
    以上纯属个人见解,仅供参考。如果有错,不要扁我