IonicWind Software

IWBasic => General Questions => Topic started by: Rod on January 27, 2007, 03:31:40 PM

Title: Reset file attributes?
Post by: Rod on January 27, 2007, 03:31:40 PM
What is the command in EB to set the attributes on a file?

More specifically, I want to reset the "archive" bit.

Plan is to create my own backup software, since I don't like anything I can find out there in cyberspace. I'll copy a file to a backup space, then reset the archive bit on the original file.

Thanks!!
Title: Re: Reset file attributes?
Post by: LarryMc on January 27, 2007, 04:36:01 PM
See http://msdn2.microsoft.com/en-us/library/aa365535.aspx
Title: Re: Reset file attributes?
Post by: Rod on January 27, 2007, 05:02:51 PM
Thanks, Larry!

I was hoping EBasic had it built in, but I've got it working your way with the Windows API call. Thanks for the pointer!  :)

Now the hard part ... figuring out EXACTLY what I want this program to do!!!