- Joined
- Jun 17, 2002
- Location
- Chicago, IL
I have winxp and win2k workstatiosn in this domain. Check out this logon script.
net use g: //ita01/ita_main/elan_temp
copy g:\HOSTS c:\winnt\system32\drivers\etc
net use g: /disconnect
Except, for the winxp machines, this wont work. How can i make it so if it sees the machine is winxp, that it'll use winxp directory, and for win2k, it'll use the win2k directoy. Somethign like if comptuer = win2k {use winnt}, i knwo that's not programming code, i'm just makign something up so you understand better. Thanks.
net use g: //ita01/ita_main/elan_temp
copy g:\HOSTS c:\winnt\system32\drivers\etc
net use g: /disconnect
Except, for the winxp machines, this wont work. How can i make it so if it sees the machine is winxp, that it'll use winxp directory, and for win2k, it'll use the win2k directoy. Somethign like if comptuer = win2k {use winnt}, i knwo that's not programming code, i'm just makign something up so you understand better. Thanks.