I nave an executale that does all the date calculation and creates a batch file to set the environment variables with th edates I need. The executable ryns fine but I cannot see the results of the batch file in th ecurrent or any other dos window. I want to call th ebatch file from the Kix script and use the environment variables in the same window. I know that Set Setl and Setm have been discussed many times, but I'm trying to set variables from a batch file. Is this possible? Here is the contents of the batch file.

@ECHO OFF
SETM "LASTM=12"
SETM YMD=030109
SETM YYYYMMDD=20030109
SETM YYMM=0301
SETM YY=03
SETM MM=01
SETM DD=09
SETM MDY=010903
SETM "YDAY=030108"
SETM YDAYDB4=030107
SETM YDAY2DB4=030106
SETM YDAY3DB4=030105
SETM YDAY4DB4=030104
SETM YDAY5DB4=030103
SETM YDAY6DB4=030102