>Igor,
>
>
> Sorry , I'd rather re-phrase my question, how to check existence of those files eg. vb*.tmp then perform automatic deletion ->(Kill app.path "\vb*.tmp")
Dir() works with wild cards. I use "_*.TPT" works fine lasts long time. One thing though be careful about calling a UDF between the assignment dir and the next dir.
~Joe Johnston USA
"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams