[comp.sys.amiga] Open files

vle@pnet01.cts.com (Vinh Le) (08/24/90)

When I use the "cp" command in SKSH 1.4 and the disk is almost full, the "cp"
command creates a file, tries to copy to it, finds out that the disk is full,
and leaves that file open (or active).  I cannot go back and delete it.  Has
this been fixed in 1.5?  In general, how do I force a "file in use" to be "not
in use" so that I can delete it, edit it, etc...  By the way, the AmigaDOS
"copy" command automatically deletes the file it creates if it cannot copy to
the file.
 
                                   Vinh Le


UUCP: {hplabs!hp-sdd ucsd nosc}!crash!pnet01!vle
ARPA: crash!pnet01!vle@nosc.mil
INET: vle@pnet01.cts.com

koren@hpfelg.HP.COM (Steve Koren) (08/27/90)

> When I use the "cp" command in SKSH 1.4 and the disk is almost full, the "cp"
> command creates a file, tries to copy to it, finds out that the disk is full,
> and leaves that file open (or active).  I cannot go back and delete it.  Has
> this been fixed in 1.5?
  ^^^^^^^^^^^^^^^^^^^^^^

Yes.  If there is copy error, the file will be closed and you can either
delete it or keep it as you see fit.

    - steve