Les, this is the longest spaghetti noodle the world has ever seen. With that being said and my knowledge of KIX (I wouldn't even consider myself a "starter") combined with being the lucky one to be tasked with this -- I kind of just wanted to follow the existing "model" or spaghetti as you refer to it and append the entries to the end and not change the version of KIX.

When you refer to a reserved word, do you mean using a word that I have already used as a label?

It errors out when run manually as well...

Here's what the a portion of the script looks like:
:g217
IF INGROUP ("G-Geodax-New-Bern-NC")
USE L: "\\US-NEW216-DFOP1\APPS"
USE O: "\\US-NEW216-DFOP1\@userid$"
USE K: "\\US-NEW216-DFOP1\COMMON$"
GOTO g218
Else
GOTO g218

:g218
IF INGROUP ("G-Geodax-Pittsburgh-PA")
USE L: "\\US-PIT817-DFOP1\APPS"
USE O: "\\US-PIT817-DFOP1\@userid$"
USE K: "\\US-PIT817-DFOP1\COMMON$"
GOTO g219
Else
GOTO g219

:g219
IF INGROUP ("G-Geodax-Raleigh-NC")
USE L: "\\US-RAL302-DFOP1\APPS"
USE O: "\\US-RAL302-DFOP1\@userid$"
USE K: "\\US-RAL302-DFOP1\COMMON$"
GOTO g220
Else
GOTO g220

:g220
IF INGROUP ("G-Geodax-Roanoke-VA")
USE L: "\\US-ROA223-DFOP1\APPS"
USE O: "\\US-ROA223-DFOP1\@userid$"
USE K: "\\US-ROA223-DFOP1\COMMON$"
GOTO g221
Else
GOTO g221

:g221
IF INGROUP ("G-Geodax-Wilmington-NC")
USE L: "\\US-WIL218-DFOP1\APPS"
USE O: "\\US-WIL218-DFOP1\@userid$"
USE K: "\\US-WIL218-DFOP1\COMMON$"
GOTO DONE
Else
GOTO DONE

ENDIF

ONE

;run "sms.bat"

:SEEYA


Edited by jallwood (2005-01-23 05:47 PM)