In your drive mappings, you could have one simple -

code:
CLS
At (13,30) "Mapping Departmental Drives"

The section "Mapping additional Drives" is not really necessary, is it?

For example, you could cover this with -
code:
If InGroup ("Medical Records")
Use k: $server5 + "Apps" /persistent
Use L: $server5 + "Apps" /persistent
Use m: $server1 + "3MHIS"
Use s: $server1 + "MedRec"
EndIf

Note: persistent is not persistant.

Also, with your IF INGROUP testing, you could simplify this with a SELECT..CASE INGROUP..ENDSELECT. The catch to this is that if you have any users that share multiple groups the SELECT..CASE.ENDSELECT will exit on the first true condition.

Please post you code using the "Code" button on the posting window.

Thanks,

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