Yes, you've struck upon an interesting point. PureBasic's SetFileDate command works with files but not with folders. This is due to the fact that the SetFileDate_() API needs a valid folder handle to set the creation date and a string isn't going to cut it. Here's how it can be done:
http://www.purebasic.fr/english/viewtop ... 956#202956
SetFileDate() Question
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
SetFileDate() Question
Thanks, I am looking at the code trying to figure what you have done.
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada