I call Kix from within a batch file.

One of my scripts calls for a reboot on a very rare occasion. An error message to 'End Task' appears because the reboot command is currently within Kixtart.

I would like to move the reboot command to the DOS script with error level reporting if the reboot becomes necessary.

If I could exit Kixtart to go back to the DOS script and then perform a task based on the error code, my problems would be solved. Any advice for a novice scripter?