|Batch doesn't have associative arrays in the traditional sense of arrays. I have seen some implementations of doing it however.|
What do you mean local users list? You mean enumerate them from the local SAM database or from a file containing usernames?
If you use a file you can do it like this. Create a text file with usernames one per line:
for /f "tokens=*" %%i in (
) do (
net user %%i /active:no