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?
Printable View
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?
you don't know where the users home direcotory is? look in usermanager, the home directory is automatically mapped
Yes, but what about the search in the .bat file. Is that possible
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?
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.
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