Could you give me an advice regarding script which assign permissions on folders on NetWare6.5SP7 server, pls?

Servers: NetWare6.5 SP7
Clients: WIndows XP SP2 and SP3

I would like to assign permissions on the hundreds folders on NetWare6.5 file server, so I do not want to assign the permission one by one manually.
I think there is a way to assign permissions from script?
I use permission only for user groups.

Those shared folders are assigned according to department and specified user groups.