Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MZimbaro

    Search for File Type Recursively and Count Matches

    By the way, thanks trollacious, I didn't have the variable set to global until you mentioned it.
  2. MZimbaro

    Problem setting Account Expiry Date in AD

    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.
  3. MZimbaro

    Search for File Type Recursively and Count Matches

    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.
  4. MZimbaro

    Search for File Type Recursively and Count Matches

    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...
  5. MZimbaro

    Search for File Type Recursively and Count Matches

    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...
  6. MZimbaro

    Looking for a way to automate a window.print, no user interaction

    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()">

Part and Inventory Search

Back
Top