Windows operating systems

Exclude files with UNC names

You can exclude remotely accessed files by specifying their universal naming convention (UNC) names in your exclude statement.

The following example assumes that local drive letter g is mapped to the remote share point:
\\remote\books
You would like to exclude from backups all files at the root of this share point that have an extension of .txt. You could use either of the following commands:
exclude g:\*.txt
exclude \\remote\books\*.txt
You cannot specify UNC names for removable drives such as DVD, ZIP, or diskette. For example, the following command is not valid:
exclude \\ocean\a$\winnt\system32\...\*