Ok,

since we name all our PC's to include 3 chars of the remote site I could do something like this to K.I.S.S....

IF %COMPUTERNAME%=='SUN*' GOTO SUN
IF %COMPUTERNAME%=='APP*' GOTO APP
IF %COMPUTERNAME%=='MAN*' GOTO MAN
IF %COMPUTERNAME%=='LYN*' GOTO LYN
... ...

But I know that is not the way to parse a sting in BATCH, but have no idea how. Can ya help with that? Or a better way?

Rocco
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro