You can omit the RemoveFile statement in your
script,
since
OpenFile
... -output
deletes the
file content before writing new data to the file .
If you really need a way to determine whether
the file exists, without getting an error message in the script
window,
use
CopyText fromFile =
"..." toText= "x"
if Q[ok]
...
endif
|
|