If you have more than 1 Domain Controller then you may have to wait for the servers to syncronize. When you are in "User and Computers", right click over the domain and select "Connect to Domain Controller". Select a different DC from the list and see if that server reports something different.
I think I found my issue. It had to do with the Function WorkWithSubFolders calling itself. This made it difficult to determine when it was on the next user. So what I did was copy that function and renamed it. Then I call the original function if there are more subfolders.
I think maybe I have the counters in the wrong place. It's hard to track when the script is moving to a new user. This is how I am doing the recursive search. Maybe somebody can spot the error with my counter placement. I have some extra echo's for debugging purposes...
I have seen several examples of recursive searching, but nothing that will sum at a specific level. For example, My server has all Mail stored on E: drive in the Users main folder (E:\users). Within Users, I have User1, User2, etc. I want to be able to search within each user folder for files...
This is what we do to handle the same thing. Place this code in the page you want to print. It will load the page and bring up the windows control to select a printer.
<script language="javascript">
<!--
function myprint() {
window.print();
}
<body onload="myprint()">
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.