Harry,... but %1 seems to be lost in the ether.Unless you capture it first: echo %1>foo.cawSending the contents of foo.caw (minus the terminating CrLf) to the XyWrite command line is left as an exercise. (4DOS, by the way, has the ECHOS command, which omits the final CrLf. Very handy.)-- Carl Distefano cld@xxxxxxxx