Save your golden files
Once you have gone to the effort of creating a set of golden files, regardless of whether they are all-purpose or not, you do not want them accidentally overwritten or corrupted by accident.
You can save your golden files by following these steps:
- Create a copy of your golden files in a location that is unlikely to be tampered with so you have a clean copy available at all times.
-
Make your golden files read-only so they cannot be modified as follows:
- Open your golden files.
-
Select one of your golden file document subsets, right-click and then click
Open Windows Explorer.
Windows Explorer is displayed.
- Open the folder properties and enable the Read-only option.
- A second window is displayed that asks if you want to apply the changes to all directories. Select Apply changes to this folder, subfolders and file.
-
Click
OK.
You now have a set of read-only golden files.