BTW, I was on drugs when I put in the sample login script above!
Replace the "end"s with "EXIT" after each :Group# section.
And the first section should actually look like this:
ifmember "group1"
if errorlevel=1 goto group1
ifmember "group2"
if errorlevel=1 goto group2
ifmember "group3"
if errorlevel=1 goto group3
ifmember "group4"
if errorlevel=1 goto group4
EXIT
And, you have to put IFMEMBER.EXE in the Netlogon share on your PDC and BDCs.
So, to recap, here is the whole script, written correctly!
ifmember "group1"
if errorlevel=1 goto group1
ifmember "group2"
if errorlevel=1 goto group2
ifmember "group3"
if errorlevel=1 goto group3
ifmember "group4"
if errorlevel=1 goto group4
EXIT
:Group1
net time \\nt01 /set /yes
net use g: \\nt01\app
net use h: \\nt01\soft
net use i: \\nt01\download
net use j: \\nt01\test
EXIT
:Group2
net time \\nt01 /set /yes
net use h: \\nt01\app
net use i: \\nt01\soft
EXIT
:Group3
nettime \\nt01 /set /yes
net use h: \\nt01\soft
net use i: \\nt01\download
net use j: \\nt01\test
EXIT
:Group4
net time \\nt01 /set /yes
net use i: \\nt01\download
EXIT
Hope this actually helps.