Sorry, I pasted a changed batch file the actual btch file has the following in it

@ECHO OFF
SET LASTM=01
SET YMD=030212
SET YYYYMMDD=20030212
SET YYMM=0302
SET YY=03
SET MM=02
SET DD=12
SET MDY=021203
SET YDAY=030211
SET YDAYDB4=030210
SET YDAY2DB4=030209
SET YDAY3DB4=030208
SET YDAY4DB4=030207
SET YDAY5DB4=030206
SET YDAY6DB4=030205

Jens, I know how to call a Kix script, I use a few scripts that I have written successfully. I just can't figure this out.