[D5] set folder creation date
hi!
i have to set the creation date of a folder, this is my code:
hDir:=OpenFile(pChar(stDir), struct, OF_READWRITE or
OF_SHARE_EXCLUSIVE);
if hDir>0 then begin
SetFileTime(hDir,@DirTime,@DirTime,@DirTime);
FileClose(hDir);
end;
it don't work: reading the struct's data i always see ERROR 5 (file
access denied?). why that?
how can i do?
thanks to all
Fod.
.
Relevant Pages
- trying to check the creation date of a file
... I am trying to determine the creation date of files in a folder. ... Dave Fickbohm ... Prev by Date: ... (comp.lang.python) - Re: 4 hour time change copying from VirtualPC to Mac
... I don't normally use folder sharing, so I never noticed this, but ... If you were to share a folder specifically for this purpose, ... should be able to set up a folder action that changed the creation ... Prev by Date: ... (microsoft.public.mac.virtualpc) - Re: Use a struct within a remotingObject
... to the struct code ... I added the assembly to the GAC by using the .NET Framework Configuration ... > when the addin is loaded, it's process folder is not the folder from ... >> not shure, if this is realy the probelm, because in a console ... (microsoft.public.dotnet.framework.remoting) - Re: trying to check the creation date of a file
... I am trying to determine the creation date of files in a folder. ... I suggest you contemplate the following real-not-pseudo-code and then examine the relevant sections of the docs for os.stat, the stat module, and the time module. ... (comp.lang.python) - Re: infor on creating an empy folder view
... After default creation of home folderview I go in settings and select ... I tried about 20 combinations of folder view creatgion and in my case ... foder path. ... Instead if you also change the label row inside the display tab in the ... (Fedora) |
|