Sophos Anti-Virus validates the paths and file names of scanning exclusion items against standard Windows naming conventions. For example, a folder name may contain spaces but may not contain only spaces.
Specify both the path and file name to exclude a specific file. The path can include a drive letter or network share name:
C:\Documents\CV.doc
\\Server\Users\Documents\CV.doc
C:\Program Files\Sophos\Sophos Anti-Virus
C:\Progra~1\Sophos\Sophos~1
For more information, see http://www.sophos.com/en-us/support/knowledgebase/13045.aspx.
Specify a file name without a path to exclude all files with that name wherever they are located in the file system:
spacer.gif
Specify a drive letter or network share name to exclude everything on that drive or network share:
C:
\\Server
Specify a folder path including a drive letter or network share name to exclude everything in that folder and below:
D:\Tools\logs
Specify a folder path without a drive letter or network share name to exclude everything from that folder and below on any drive or network share. For example, \Tools\logs excludes the following folders:
C:\Tools\logs
\\Server\Tools\logs
Use the ? wildcard in a file name or extension to match any single character.
At the end of a file name or extension, the ? wildcard matches any single character or no characters: For example, file??.txt matches file.txt, file1.txt, and file12.txt, but not file123.txt.
Use the * wildcard in a file name or extension, in the form [file name].* or *.[extension]:
Correct
file.*
*.txt
Incorrect
file*.txt
file.txt*
file.*txt