Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!vu44!botter!ark!lesmem From: lesmem@ark.UUCP (Marco Lesmeister) Newsgroups: net.micro.cbm Subject: (old) Sequential file problem Message-ID: <687@ark.UUCP> Date: Mon, 24-Feb-86 06:25:44 EST Article-I.D.: ark.687 Posted: Mon Feb 24 06:25:44 1986 Date-Received: Wed, 26-Feb-86 07:36:06 EST Reply-To: lesmem@vu44.UUCP (Lesmeister Marco) Organization: VU Informatica, Amsterdam Lines: 23 I know this question has been asked several times now, but I never took the trouble of reading the answers, because I didn't own a 1541 drive then. The question is this : How can I write data to a sequential file and overwrite the old file with the same name, when I don't know for sure if there is a file with that name. I know now that there is a problem when I use the '@' option and there is no file to overwrite, but how do I solve this. I don't hope that the only solution is to check the directory for the file-name, because that's a bore. Maybe someone has an elegant way of solving this problem for me. Thanks in advance, Marco Lesmeister, Vrije Universiteit (Free University), Amsterdam, The Netherlands