johnaregan
Programmer
- Mar 13, 2001
- 87
Hi
I'm looking to change all passwords in one go using the
net user command and a delimited text file containing all username and new passwords eg.
usr1
wd1
usr2
wd2
etc.
i know how to loop through the file:
for %%i in (list.txt) do ...
but i need to be able to pasre out the username and passwordsinto separte variables for the net user command.
any hints would be greatly appreciated
I'm looking to change all passwords in one go using the
net user command and a delimited text file containing all username and new passwords eg.
usr1
usr2
etc.
i know how to loop through the file:
for %%i in (list.txt) do ...
but i need to be able to pasre out the username and passwordsinto separte variables for the net user command.
any hints would be greatly appreciated