@kdyer
Many Thanks! Your code worked fine. I made only minor changes:
IF EXIST('c:\ '+@wksta +'.TXT')
.
.
Open(3, 'c:\ '+@wksta +'.TXT',5)=0

and placed other little things that I want. [Wink]

@sealeopard
You didn´t help but, thanks anyway.

Regards,

[ 04. November 2003, 18:35: Message edited by: ECTSPM ]