So...

What seems to be the problem?

Maybe add some code to debug your script?
Code:

if ingroup ("company") ;This only contains groups and does not work
?'We Made it'
SLEEP 3
use L: /d
use L: "\\server\shares"
endif



OK, more questions:
  • Is the Group Name the Pre-2000 name from Active Directory?
  • Have to ask, But is this a Security Group and not a Distribution Group?
  • Are there any special characters in the Group name?
  • What happens when you try to do an ENUMGROUP?
  • If ENUMGROUP does not show this group, have you tried to use IFMEMBER /v /l > yourname.txt to see if you have the group in question there? IFMEMBER is from the Resource Kit.


You may want to do some debugging too:
Code:

if @userid='youruserid'
debug on
endif
; -- Then you can go step-by-step from here
if ingroup ("company") ;This only contains groups and does not work
?'We Made it'
SLEEP 3
use L: /d
use L: "\\server\shares"
endif



INGROUP should be pretty cut-and-dry or yes-or-no.

Please let us know what you find.

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's