View Single Post
Old 07-17-2008, 11:28 AM
pdmckenzie pdmckenzie is online now
Registered User
Join Date: 07-07-2008
Posts: 4
So after doing other things for a while and hoping the problem goes away, I have come to a point where I can repeat the problem with a reasonable level of consistency in a small bit of code.

The behavior I see with the attached code is if the %ABSOLUTE_PATH_TO_SOME_DIR% property is set to a directory with more than 16 files in it, psexec seems to hang after the 16th file... consistently. BEWARE - don't run this code against a remote box unless you understand what cacls is doing - it will change perms on files and folders below where your path is set.

Reproducing this failure does not seem to work for me unless there are more than 16 files in the %ABSOLUTE_PATH_TO_SOME_DIR% directory.

I hope that helps.

Attached Files
File Type: bld remote.bld (4.0 KB, 613 views)
Reply With Quote