So then, I would assume that you could look for and make sure these variables are not blank.

WINSTATIONNAME
SESSIONNAME

IF %WINSTATIONNAME%="" GOTO etc....
IF %SESSIONNAME%="" GOTO etc....

Or something like this. You would need to test and play with it some to make sure it works on all of them.

Then just add them to the previous batch file and test on all permutations and you should then be able to determine what system your on via a DOS Batch call.

[ 08 April 2002, 20:16: Message edited by: NTDOC ]