search for: le_attribute_normal

Displaying 1 result from an estimated 1 matches for "le_attribute_normal".

Did you mean: file_attribute_normal
2003 Jan 06
0
Desktop.ini (part) solution
...auses the dreaded Desktop.ini problem (yay!) and probably some others too! The test code in windows: #include "stdafx.h" #include <windows.h> int main(int argc, char* argv[]) { HANDLE f; f = CreateFile("H:\\test.x",GENERIC_WRITE,FILE_SHARE_WRITE,NULL,CREATE_ALWAYS,FI LE_ATTRIBUTE_NORMAL,NULL); CloseHandle(f); f = CreateFile("H:\\test.x",GENERIC_WRITE,FILE_SHARE_WRITE,NULL,CREATE_ALWAYS,FI LE_ATTRIBUTE_HIDDEN,NULL); CloseHandle(f); return 0; } Now in windows, the first call creates the file 'test.x' with NORMAL attributes. Then, the second call 'truncat...