I have done some cleaning up per your suggestions, and I thank you very much. The code below works copying the shortcuts and maps the user to L because they are a member of Trakker however the I never see when the STAT group run and my else statements to echo out and it does not map I. Is there still something with my code? Your advices will be highly appreciated.
code:
if INGROUP("LED")
? "Member of LED group"
USE G: /delete /Persistent
use G: "\\ATC-CORP\VOL2"
USE S: /delete /Persistent
use S: "\\FS2\LED$"
If Exist ("c:\windows\\DESKTOP\TRAKKE~1.PIF") = 0
copy "\\W2K2\netlogon\TRAKKE~1.PIF" "c:\windows\desktop" ;copies Trakker Star shortcut to desktop

If Exist ("c:\windows\\DESKTOP\TRAKKE~2.PIF") = 0
copy "\\W2K2\netlogon\TRAKKE~2.PIF" "c:\windows\desktop" ;copies Trakker Lend shortcut to desktop

If Exist ("c:\windows\\DESKTOP\STARDO~1.PIF") = 0
copy "\\W2K2\netlogon\STARDO~1.PIF" "c:\windows\desktop" ;copies Star Docnet shortcut to desktop

endif
endif
endif
sleep 3

if INGROUP("STAT")
USE I: /delete /Persistent
use I: "\\FS2\Apps"
? "Member of STAT group"
if @ERROR=0
? "The drive for STAT members was mapped successfully!"
else
? "There was an error mapping the APPS share. The error is: "+@SERROR
endif
else
? "This person is not in STAT group"
endif


sleep 10
endif

_________________________
Steve