Need assistance with command syntax.
I am adding the domain username to a text file. For each of the usersnames in the text file, I want to run a command.
I am going to add this to a login script eventually.
I need it to operate as such:
If %username% == ( a name in user.txt) then run extra commands
I am attempting to get this working with a for loop on the names in the text file.
For %%i in my/users.txt do START /wait install.exe
all users who need the software will have their domain username in the txt file.
I an unable to get this working.