Hi Andrew,

I am not sure what Windows is like nowadays, but I believe you are referring to the archive bit:

http://en.wikipedia.org/wiki/Archive_bit

I'm not sure if there is something else on CPAN that is better than this, but a search for "archive bit" turns up this package as one of the top hits:

http://search.cpan.org/~yves/Win32API-File-0.1001/File.pm

Seems like the "GetFileAttributes" function is what you are looking for...

Ray


AndrewMcHorney wrote:
Is it possible to write a script that will tell me whether a file has certain properties. I am using a commercial program for backing up software. Each file has an associated property that indicates whether it is to be backed up or whether it is backed up or nothing at all. I would like to write a perl script that would generate a report so I know the backup status.

This is a Windows based program.

Andrew




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to