How to set the modification time of a file programmatically?

后端 未结 5 611
余生分开走
余生分开走 2021-01-05 07:48

How do I set the modification time of a file programmatically in Windows?

5条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-05 08:38

    Use SetFileInformationByHandle with FileInformationType as FILE_BASIC_INFO

提交回复
热议问题