Are you getting this result on an NT/W2K/XP client or is it a Win9x client?

%OS% is an environment variable automatically set for computer running NT or higher.

Seeing your whole batch file and a slightly better (more detail) description of what is happening would make it easier for us to understand an potentially result your issue.

{edit} Beat out by Les again. [Roll Eyes]

[ 22 May 2002, 20:18: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/