Dear,

Please change following code
code:
?"-       241-"+@time+"- @error @serror "?        If @error = 0
?"- 242-"+@time+"- @error @serror "? $dummy = Info($devicename + " Connected To " + $resourcename)
?"- 243-"+@time+"- @error @serror "? $dummy = LDel("*")
?"- 244-"+@time+"- @error @serror "? $dummy = Dir("$Proc2Execute")

with
code:
?"-       241-"+@time+"- @error @serror "?        If @error = 0
? " $$devicename = $devicename"
? " $$resourcename = $resourcename"
?"- 242-"+@time+"- @error @serror "? $dummy = Info($devicename + " Connected To " + $resourcename)
?"- 243-"+@time+"- @error @serror "? $dummy = LDel("*")
? " $$proc2execute = $proc2execute"
?"- 244-"+@time+"- @error @serror "? $dummy = Dir("$Proc2Execute")

Also we have interest for your related files, which you are using.
Can you put examples of them on the board. So we can understand was is going on.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA