Most internal commands which accept wildcards also accept owner ranges to further define the files that you wish to work with. TCC examines each file or directory and excludes those whose owner doesn't match that in the exclusion range.

 

Owner ranges support wildcard comparisons. The value is the same as shown in DIR /Q or %@owner.

 

The syntax is:

 

 /[O"owner"]

 

If you precede the O with a !, the result is reversed.

 

The following example will display all files in the current directory owned by Bob:

 

dir /[O"*\Bob"] *

 

The following example will display all files in the current directory except those owned by Bob:

 

dir /[!O"*\Bob"] *