Thanks a lot - gotta go xmas shopping for now - i'll try it when i get home. Looks more promising than something i would have thought up! Man need to get some books on the api :)
actually i was reading through the docs in the MSDN and it doesn't let you set file attributes :\ All it does is copy them over.
"File attributes for the existing file are copied to the new file. For example, if an existing file has the FILE_ATTRIBUTE_READONLY file attribute, a copy created...
Trying to make a program that takes an existing file, creates a new one complying with POSIX standards (so you can create it in uppercase [this is on NTFS] - yes there is a difference - windows won't let you do it, it will ask if you want to overwrite), and then copies the data of the source...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.