Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!ukma!psuvm.bitnet!cunyvm!MAINE.Bitnet!STEVEG From: JRH4373@TAMVENUS.BITNET Newsgroups: comp.sys.amiga Subject: DeleteFile() problem Message-ID: <02JRH437@TAMVENUS> Date: Mon, 27-Jul-87 16:26:00 EDT Article-I.D.: TAMVENUS.02JRH437 Posted: Mon Jul 27 16:26:00 1987 Date-Received: Wed, 29-Jul-87 00:43:24 EDT Organization: University of Maine Lines: 23 [Go ahead...eat my line!] Time for another question. I am experiencing a bit of difficulty with the AmigaD*S function DeleteFile(). The documentation I have states that this function will delete a file or directory. The problem is, in an application I am writing, I am getting an object in use error when trying to delete any directory after having deleted all files in that directory. The files all delete fine, but when an attempt is then made to delete the directory, I get the error. Keep in mind that this is a directory that my program has recently created using mkdir() and no other processes are active. Upon exiting the program, the del command will not delete it either although I can cd to it. Only by rebooting the system will the harddisk mount clean up the directory to allow it to be deleted. I am sure I must be missing some trivial tidbit of knowledge concerning deleting files, but I have looked till I am blue in the face and have failed to find anything that solves this problem. Anyone out there have any idea what I am doing wrong? ****************************************************************************** Joel << Hatchet >> Hall jrh4373@tamvenus I think therefore I am...an Amiga user. Disclaimer: I would disclaim my existance, but if I didn't exist, I wouldn't need to disclaim anything. So if I don't disclaim something, does that mean I don't exist...