Hi,
Im trying to get a list of each logged on users and deal with each user separately. So what Im thinking is save a list of all logged on users to a text file and extract each login name from each line in a loop.
So Id do
Who > userList
TotalLoggedUsers=who | wc l
Ok I know the total number of lines and Ive got a list in a file
How do I loop through each line and extract the login name?
Thanks
Start Free Trial