Originally Posted By: Richard H.
When quoting start to get ugly I resort to a small UDF to tidy it up and keep me on the straight and narrow.


Very nice. Thank you for this. However, this code functions the same as Allen's. It runs through, performing the task, but then KIX doesn't "end" it. It hangs at a blinking cursor without returning to a command prompt.

I think the code is "working" now that the quoting has been resolved, but KIX just doesn't appear to want to relinquish control back to the system after it runs the command. Very strange.