Clayton, in your case based on your example code a SELECT...ENDSELECT would be more efficient than all the IF statments.

code:
Select
Case InGroup("ADM") $share = "\\tpaprime01\ACCT"
Case InGroup("CORP") $share = "\\tpaprime01\CORP"
Case InGroup("MEDMAL") $share = "\\tpaprime01\MAL"
Case InGroup("REALAND") $share = "\\tpaprime01\REALAND"
Case InGroup("ENV") $share = "\\tpaprime01\ENV"
Case InGroup("CORP") $share = "\\tpaprime01\CORP"
Case InGroup("FLOATER") $share = "\\tpaprime01\DATA"
Case InGroup("INS") $share = "\\tpaprime01\INS"
Case InGroup("LABOR") $share = "\\tpaprime01\LABOR"
EndSelect
If $share <>""
Use H: $share
Endif
Use U: '\\tpaprime01\'+@USERID+'$$' /persistent
Use G: "\\tpaprime01\vol1\data"
Use J: "\\tpaprime01\vol1"
Use S: "\\tpaprime01\shared"
Use W: "\\tpaprime01\word"
Use X: "\\tpaprime02\apps"

Also its better to enclose the path potion of the USE statement in quotes.

[ 19. August 2002, 20:35: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/