Yeez, you're batch file is so messed up I wouldn't be surprised if it didn't even work.
You need administrative privileges in order to copy to the SYSTEM32 directory. There are a couple of login.bat files already posted that work under all versions of Windows.
Also, you shoudl test your script by just calling it directly from the command line. Also, take you time and read the KiXtart Manual. DEBUG ON goes into youre KiXtart code.
Why do you differ beween OSes if you do the same with them anyway?
Finally, it is recommended to put the login files into NETLOGON.
Pleas read the FAQ Forum. The threads posted there will help you solve your problems.
Thus:
1) Read!
2) Got your batch file working
3) Test your script from the command line without a batch file
4) Test it together
_________________________
There are two types of vessels, submarines and targets.