It would be very helpful if you posted the error(s) you are receiving and the version of KiXtart you are using. That way I could address specific issues. I would recommend you start with a test script that only contains the UDF and the call to the UDF. Run the test script in a DOS box so that any error remain on the screen after the script closes or teminates.
_________________________
Home page: http://www.kixhelp.com/hb/