so...

"You might want to read the KiXtart Manual,
commands EXPANDENVIRONMENTVARS, SET, SETL, SETM."

->yeah i know them and they dont do anything for me in this case..Except perhaps ëxpandenvironmentvars
as i havent got time to test it.

"Why not use KiXtart variables directly?"

-> because i want to get environment variable created BY the batch file...

"$Y = "And this is how you access environment variables: %USERNAME%..."

-> And this is how it doesnt works in this case...

"waltz, that most likely is not the solution as sets done in child do not get into the script (RTFM)
including the batch-file in your script would seem to be the best solution."

-> Lonkero is the winner !! He understood my problem....Well i dont know how to do the same in kixstart as it is in the batch file :/

In fact, the bacth file get me the hour and minute of a machine on the network (net time command)
After i do some calculation on the minute/hour in my kix script.

So any solution to this ?

Thgkx again for ur contribution