Question Locked

More than one batch file to the users in Active Directory

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi all,

We have more than 1000 users.
We have more than 100 differnet batch files as per environmental requirement.
My requirement is "is it possible that I can put multiple bat files to single user"
that means in user properties-profile & in login script can i write two batch files, if yes then how?

Thanks & regards,
Sunad

2 replies

by Former member

cd Alpha
call run.bat
cd\
cd c:\tower\Beta
call run.bat
cd ..

You can use "start" instead of "call" to kick off the batch files - that will make them open new and execute simultaneously.

The way to do this in a .bat or .cmd file is just to replace "call" in your code with "start". That will open a new window each time "start run.bat" is encountered and continue on with the main batch file.

Please post back if you have any more problems or questions.
If this information is useful, please mark as helpful. Thanks.

This discussion is closed to new replies.