Logon script server search
Results 1 to 6 of 6

Thread: Logon script server search

  1. #1
    Join Date
    Oct 2000
    Location
    Denmark
    Posts
    3

    Logon script server search

    Hi everyone!
    I got the idea of making a search algorithm in the logon.bat files. I need it to search several servers for the home directory of the user.
    Is this possible at all?

  2. #2
    Join Date
    Jun 2000
    Location
    Windsor, Canada
    Posts
    540
    you don't know where the users home direcotory is? look in usermanager, the home directory is automatically mapped

  3. #3
    Join Date
    Oct 2000
    Location
    Denmark
    Posts
    3
    Yes, but what about the search in the .bat file. Is that possible

  4. #4
    Join Date
    Jun 2000
    Location
    Windsor, Canada
    Posts
    540
    yes, what criteria are you searching by? a specific folder name?

    what do you want to search on a given server, just one folder or do you need to search the whole server,

    out of curiousity why would you ever want to do this?

  5. #5
    Join Date
    Oct 2000
    Location
    Denmark
    Posts
    3
    I want to search specific folders for a subfolder of a specific name like this:

    if <folder> is <here> then move on
    else
    if <folder> is <there> then move on
    else
    if <folder> is <there> then move on

    I have several logon servers, but I want to combine them.

  6. #6
    Join Date
    Jun 2000
    Location
    Windsor, Canada
    Posts
    540
    if exist \\servername\foldername goto moveon

    if exist \\servername2\foldername goto moveon

    if exist \\servername3\foldername goto moveon

    :moveon

    what do you mean combine servers

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •