AFAIK, it's not possible using the FOR command since it always treat space
as delimiter and the user names may contain space(s).
My solution is this.
@echo off
setlocal
:: get list into file
net users>users.tmp
:: call self with file as input
call :input_start<users.tmp
del users.tmp
goto :eof
:input_start
:: skip first 4 input lines
set/p i=
set/p i=
set/p i=
set/p i=
:input_line
:: process each line
set/p i=
echo ==========
echo Line is "%i%"
if "%i%" == "The command completed successfully." goto :eof
call :get_user %i:~0,24%
call :get_user %i:~25,24%
call :get_user %i:~50,24%
goto input_line
:get_user
:: process each user. trim user name
if "%*" == "" goto :eof
echo Got user "%*"