[Bruce] > f.close() > cmd = "echo %s | %s"%(argument_file,the_program) Either: you are a VB programmer and you've actually typed "f.close" rather than "f.close()", Or: you meant "type" (or "cat") rather than "echo", Or: I need a new crystal ball. 8-) -- Richie Hindle richie at entrian.com