The usual problem when a script runs under an NT based OS and not a DOS based OS is line termination. It seems that NT based systems are less sensitive to proper DOS line termination than DOS based systems. Chris -- 'Nix MS - Just Say .NyET