Mail Archives: djgpp-workers/2001/12/28/07:31:04
Hello.
Tim Van Holder wrote:
> Very strange:
>
> If I delete a file using del, the file is deleted (duh).
> But if I delete a file using 'rm', a hidden 'deleted' directory
> is created, along with 'deleted.001' (== the deleted file) and
> 'index' (== links files to original names) files.
> This of course makes rm nearly useless.
I've never seen such weird behaviour, but then I only used Win98/DOS 7.x,
when porting & testing Fileutils 4.0.
I wonder if del uses a different method of deleting the file than rm does.
E.g.: del uses a Win32 delete function, whereas rm uses a DOS delete
function. Perhaps Norton still protects the DOS delete function, when
you've turned off protection for all drives? Could this be a bug in Norton
SystemWorks?
Perhaps you could try using a delete utility from an older version of DOS,
to see if it exhibits the same behaviour?
What happens with directories and rmdir (Windows & Fileutils versions)?
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -