Jooel,
I believe LMHOSTS to be a file, not a folder. I assume it's a typo and not LMHOST as shown.

Phil,
If you have any Win9x/ME systems, I advise that you stay away from the Z: drive. As Kent and Jooel mentioned, not good practice to assume folder name based on OS. Using @INWIN and %windir% is much safer.

Try quotes around your parameters as per Jooel's example.

[ 04 February 2002: Message edited by: LLigetfa ]

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.