Thanx, I already got attributes to work. Now I only need to change the time. I cannot change the time in the folder for some reason although I can in file. I need a bit more help. Look at the code:
Sorry, I'm barely new to API functions, so I cannot solve your problem...
The only thing I can say is that you there is no way of direct assign a bool value (SetFileAttributes) with a handle value (filename).