
Setting file modification time
Quote:
>Yeah, you can *get* it with FileDateTime() but how the heck do ya *set*
>it.
>There's a C function, _utime, which will do that but before I wrap that
>in a .DLL, does anyone know an existing goddam Windows .DLL with an API
>that will do the same thing. Seems astonishing that there isn't
>(obviously, anyway, despite MSCD searches and all) anything I can find.
I looked up how the Delphi FileSetDate works (speaking of Delphi
versus VB, anyone have the source for VB?<g>). Delphi uses a DOS 21h thing
to set the date, which seems like evidence that there really is no WinAPI for
it, since surely they didn't feel performance was an issue(?) and an API
call would be more portable.
--
David Ullrich
Don't you guys find it tedious typing the same thing
after your signature each time you post something?
I know I do, but when in Rome...