I provided some sample code of an Admin script that could be executed from a central console relying on the computer name format in your first post. I can't be held responsible for incomplete and inaccurate info that you provided.

Is the information:
quote:
If $wksta is xxxxxe220 – xxxxxe250 copy hosts1. to $path\hosts.
If $wksta is xxxxxw100 – xxxxxw150 copy hosts2. to $path\hosts.
If $wksta is xxxxxm1 – xxxxxm60 copoy hosts3 to $path\hosts.

correct with regard to the way you wish the host file to be deployed?

{edit}obviously not{/edit}

[ 30. October 2002, 19:35: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/