Article View: borland.public.cppbuilder.nativeapi
Article #17706Re: Change timestamp of a directory
From: Nico Bendlin
Date: Wed, 05 Mar 2003 23:05
Date: Wed, 05 Mar 2003 23:05
13 lines
1502 bytes
1502 bytes
Helmut Giese wrote: > Hello out there, > is it possible to change the timestamp of a directory once it has been > created? All my attempts so far have been remarkably unsuccessful. On WinNT use CreateFile with FILE_FLAG_BACKUP_SEMANTICS flag (requires the privileges SE_BACKUP_NAME and SE_RESTORE_NAME). Secondly, an diretory has only one timestamp (CreationTime). Do not try to set LastAccessTime or LastWriteTime at all. -- codito, ergo sum :]
Technical Details
Message-ID:
<3e6682cd@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e667f83.3979706@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9cdd532a1dbdad8e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-03-06 21:50:47 PST Date: Thu, 06 Mar 2003 00:05:52 +0100 From: Nico Bendlin <nicode@gmx.net> Organization: Piranha Bytes User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: de, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Change timestamp of a directory References: <3e667f83.3979706@forums.borland.com> In-Reply-To: <3e667f83.3979706@forums.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.68.93.66 Message-ID: <3e6682cd@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1046905549 213.68.93.66 (5 Mar 2003 15:05:49 -0800) Lines: 14 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail