I just tested that line, works fine for me. Must be an error somewhere else in your script?

 Code:
Shell '%comspec% /c net localgroup "administrators" > users.txt'


Also, I think it gives an error if the group doesnt exist, so maybe thats a problem?


Edited by CitrixMan (2011-01-29 09:16 PM)