• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • Last Modified:

setup an archive bit on a folder/file.

after a full back up of a folder, I don't want that folder to be backed up in the differential. I want to set up an archive bit so that all differential backup doesn't backup the folder.

I know there are other ways, but I need to know how this way is done.

I don't know the checkbox of "This folder is Ready for archiving" can do this

  • 3
2 Solutions
Rob WilliamsCommented:
You can use the attrib command to display or change the back up file attribute:
For example to enable the archive bit for all files in a directory and it's subdirectories:
  attrib  +A   C:\BackUp\*.*   /S  /D

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.
      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.
jskfanAuthor Commented:
RobWill ,

your statement above is for setting attribute with commands. how about using GUI? where should it have be done?
Rob WilliamsCommented:
Right click on file and choose properties, on the general tab choose advanced, select " file is ready for archiving"
Rob WilliamsCommented:
Thanks jskfan,
Enjoy the weekend !
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now