What you are going to want to do is to place debug statements on each of the steps and evaluate what the response is. For example:
 Code:
DEBUG ON
MD C:\Some_Directory
?@error + ' RESULT'
?@serror } ' SCRIPT RESULT'


You can find out more about DEBUG, @SERROR, and @ERROR and more from the KiXtart documentation.

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's