"Access denied" messages from DO

May 20, 2008
11,536
103
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?
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
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?

What behavior?
 
May 20, 2008
11,536
103
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.
 
Similar threads
Thread starter Title Forum Replies Date
Jesse Heines Access Denied errors in TCC 27 Support 9
P Access denied TakeCommand.19.0.key Support 2
Roedy tccbatch Windows 7 "access is denied" Support 4
C access denied problem under Vista Support 5
Jay Sage Directory Alias Access to FTP Servers Support 2
O TPIPE: Error -Can´t access textpipeengine.dll Support 24
C How to? Setting up SMTP access for Yahoo with TCMD v20 Support 7
dcantor Unable to access help Support 9
D How to? How to access iPhone from tcmd.exe? Support 1
vefatica TPIPE access violations are back Support 2
vefatica TPIPE access violation again Support 1
vefatica TPIPE: Access violation Support 5
S WAD Cannot access mapped drive in 64b Win7 Support 15
C registration proboem if no internet access given Support 0
cgunhouse TPIPE: Error - Can't access textpipeengine.dll Support 14
P Can't access textpipeengine.dll Support 11
Q TCC: (Sys) The process cannot access the file because it is being used by another process. Support 0
C Cannot register v12.10 without Internet access Support 19
vefatica Random access to the characters in a string? Support 4
S How to access array elements? Support 5
S FTP site; IFTP access Support 10
T Access violation upon TC startup Support 2
M Testing my e-mail access Support 1
mscheuner How to access XML *attributes* using XPath Support 3
p.f.moore Broken email access to these forums - finally giving up Support 4
K_Meinhard Email access, again Support 2
K_Meinhard email access Support 6
rconn Email access Support 6
S Version 11 ZIP /V - Permission denied on Network drive Support 2
M Strange error messages from TCC in FTP copy Support 7
vefatica Debug messages from TEE? Support 3
rconn News Site down, messages lost Support 0
B Fixed Error messages from TCMD.INI Support 2
S WAD DEL /E suppresses fatal ERROR messages Support 2
vefatica UNTAR gives misleading messages Support 3
R SYNC /T /W does not suppress "deleting" messages Support 0
S WAD Messages cannot be seen or accessed in Forum Support 12
R How to Suppress "Removing Directory" Messages Support 3
Jay Sage How Can SENDMAIL Create Messages with Plain Text and HTML Support 2
C Rex: Missing email messages from all forums Support 7
S Repeated messages Support 0
Stefano Piccardi TCC 9.02.152 truncated error messages Support 3
Charles Dye No error messages for RD /S ? Support 4

Similar threads