les_ligetfalvy,
I tried

code follows:
If Open(1,"c:\Progra~1\Comput~1\ArcServ\ArcServ.log",5) <> 0

endcode:

what about when copying could I use

code follows:

$dest = chr(34) + "c:\Long dir name with spaces\another LDNWS\" + chr(34)
shell "%comspec% /c copy c:\*.txt $dest"

endcode:


what about the If Open command though is the above alright. (the code with the ~1 in the names?

signed,
very confused newbie

_________________________
Bang that head that doesn't bang!!!