Archive Attribute

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can anyone explain what the Archive attribute is used for and can it be
removed?
 
Deb H said:
Can anyone explain what the Archive attribute is used for and can it be
removed?

You cannot "remove" an attribute - it is part a file's properties.

The archive attribute is set each time you create or change
a file. It can be reset by direct action (attrib.exe), by
xcopy.exe, by ntbackup.exe and probably by a few
other programs.
 
It's used by backup programs to do incremental backups, it tells the
backup software that the file was changed since the last backup, so the
backup software will backup the file again then remove the attribute so
that it doesn't copy the file again on its next backup. Other copying
utilities, like xcopy, can also copy files based on the attribute when
the right switches are used when launching the utilities. You can
remove the attribute at the Command Prompt with the attrib command.

John
 
Deb said:
Can anyone explain what the Archive attribute is used for and can
it be removed?

Used for backup software to know whether or not a file has been -
surprisingly enough - archived (or backed up lately.)

The command line "attrib" command can set/unset the Archive Attribute as
well.

C:\>attrib /?
Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]
[/S [/D]]

+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
[drive:][path][filename]
Specifies a file or files for attrib to process.
/S Processes matching files in the current folder
and all subfolders.
/D Processes folders as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top