How to QUEUE user by user.

I need to limit datarate to every user in a LAN. They are about 50 or 60 users

The problem consist. If one host start downloading e-mail (for example) It takes the entire bandwidth up to finish. The router interface of this LAN has 512Kbps asigned on queue.

Is there any way to do it without adding one by one to the queue list¿? all of them use Fixed IP.
THANKS!

Just use and run script like that:

:for i from 1 to 50 do={ /queue simple add target-addresses=(192.168.1. $i . ) interface=ether1 max-limit=512000/512000 }

of course change parameters yun need, specially the addresses and interface

It was amazing!! You saved to me a lot of time!!! tank you.

If you use the user-manager package and set some of the rate settings, the queues will be created for you automatically.

Another way is PCQ queue to save the time with the configuration and most important router resources.
As few queues will substitute 50, any queue you have,
http://wiki.mikrotik.com/wiki/PCQ_Examples