[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Unerasing (was: Re: What the modern stuff can't do.)



>>> Eric Van Tassel <101233.342@xxxxxxxx> 10/05/99 04:50PM >>>
I may have misunderstood, but "if you erase a file using a DOS program like
XyWrite" you can still use Windows's Undelete feature.

This is different that the "Recycle" bin (borrowed from the Macintosh "Trash
Can") on the desktop, which is in fact another directory on the hard drive. When you
"delete" files in Windows 95, they are not removed from the hard drive ― the file
is simply moved to the Recycle bin. When you delete files in the Recycle bin, they are truly
"deleted," and then to retrieve them requires an undelete function such as you have
described. DOS programs do not put files in the Recycle bin, because there *is* no such feature in
DOS. Windows could not "force" this behavior on DOS programs, because it would require
Windows to intercept and interpret every DOS program system call.

The best way to set up the "Recycle bin" in XyWrite is simply to create a new
"delete" command, which imitates the behavior of Windows: if the file is in the Recycle
bin, delete it; otherwise, move it to the Recycle bin.

S.H.

==========================
shawn_harrison@xxxxxxxx
==========================