• 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


thanks
0
jskfan
Asked:
jskfan
  • 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.
  [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.
0
 
jskfanAuthor Commented:
RobWill ,

your statement above is for setting attribute with commands. how about using GUI? where should it have be done?
0
 
Rob WilliamsCommented:
For GUI
Right click on file and choose properties, on the general tab choose advanced, select " file is ready for archiving"
0
 
Rob WilliamsCommented:
Thanks jskfan,
Enjoy the weekend !
--Rob
0
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