🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Mark Dutch Sun, 13 Apr 2003 07:23
"Touch" file
#16990
Author: Mark Dutch
Date: Sun, 13 Apr 2003 07:23
4 lines
1246 bytes
I want to write a function to "touch" a file or set of files - ie. 
change the date & time of the specified file(s) without otherwise 
altering them.  Is there an API call to handle this type of thing? Does 
anyone have an example of how to do this?  TIA
Re: "Touch" file
#16991
Author: Remy Lebeau (TeamB)
Date: Sun, 13 Apr 2003 07:27
11 lines
1282 bytes
"Mark Dutch" <markd@removethis.intermtech.com.au> wrote in message
news:3E99107F.5040002@removethis.intermtech.com.au...
> I want to write a function to "touch" a file or set of files - ie.
> change the date & time of the specified file(s) without otherwise
> altering them.  Is there an API call to handle this type of thing?

Have a look at SetFileTime().


Gambit
Re: "Touch" file
#16901
Author: Mark Dutch
Date: Sun, 20 Apr 2003 02:23
5 lines
1115 bytes
Thanks Gambit

Remy Lebeau (TeamB) wrote:

> Have a look at SetFileTime().
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads