The Old New Thing

What is the programmatic equivalent to unchecking the box to prevent a file from having its contents indexed?

A customer wanted to know how they could write a program that automatically checked and unchecked the box that appears on a file's property sheet on the General tab, clicking the Advanced button, and then checking or unchecking the item whose name keeps changing: The checkbox maps to the file attribute formally known as , and informally ...