"Access denied" messages from DO

May 20, 2008
9,204
60
Syracuse, NY, USA
These two commands produce identical STDOUT (here, 26 fully qualified file names).
Code:
ffind /m /s c:\windows\system32\*.log
do f in /d"c:\windows\system32" /s *.log ( echo %@full[%f] )
FFIND gives no error messages. DO gives 20 2-line "Access denied" messages.

Can the behavior be changed?
 
May 20, 2008
9,204
60
Syracuse, NY, USA
OK, I think I know what's happening. DO /S tries to make each directory the current directory. That fails for directories with "traverse / execute" denied. FFIND only looks at the contents (which is OK). I still don't like all the error messages.
What behavior?
All the "access denied" error messages.