Thanks guys. I'm a moron. ;)
If you're going to be looping over the list while logging it, you really want to use ">>" and not ">"
loop start
/path/to/adduser params >> /path/to/adduser.log
goto loop top
ie, append to existing file, not write to new file
You might also want to add %%date%% %%time%% in the loop so you can see how it progresses
echo %date% %time% %username >> /path/to/adduser.log /path/to/adduser.exe params >> /path/to/adduser.log
Len
_____________________________________________________________________ http://IMGate.MEIway.com : free anti-spam gateway, runs on 1000's of sites
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
