ok because one if statement was not setup properly all the rest below it will not work. I added the correct statement:
use m: "\\SCOOBY\DISC$$" ;thx sunnie4747
In the first IF statement and changed the rest also, as a result the rest of the if statements functioned properly after the first one was fixed. Hardcore programmers may want to take note of this preprocessor condition.
break on
;Get Home Directory
Use H: "\\SCOOBY\" + @USERID + "$"
;Get Standard Drives
Use I: \\SCOOBY\Public
Use J: \\SCOOBY\APPS
;Group Areas
IF @USERID = "Administrator"
use m: "\\SCOOBY\DISC$$"
ENDIF
IF INGROUP( "DOMAIN USERS" ) = 2
USE n: "\\SCOOBY\DISC$$"
ENDIF
$V = "@userid"
? $V
$X = "Administrator"
? $X
IF $V = $X
Use K: "\\SCOOBY\DISC$$"
ENDIF
IF "Administrator" = "Administrator"
use l: "\\SCOOBY\DISC$$"
ENDIF
This maybe the root of your second problem i read before above. Just make sure all syntax is correct up until the problem point.