Click to See Complete Forum and Search --> : Logon script server search
lente
October 5th, 2000, 10:38 AM
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?
SMS Avenger
October 5th, 2000, 11:00 AM
you don't know where the users home direcotory is? look in usermanager, the home directory is automatically mapped
lente
October 5th, 2000, 11:04 AM
Yes, but what about the search in the .bat file. Is that possible
SMS Avenger
October 5th, 2000, 02:46 PM
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?
lente
October 6th, 2000, 08:01 AM
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.
SMS Avenger
October 6th, 2000, 09:09 AM
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