RE: "paper basket"

new topic     » topic index » view thread      » older message » newer message

Apart from the files themselves, some other information

about the original path should be present in the Recycle binder, because you
can restore a file to its original location with a mere click.
----- Original Message -----
From: Carl W. <euphoria at cyreksoft.yorks.com>
Subject: Re: "paper basket"


>
> Juergen Luethje wrote:
>
> > I'd like to write some routines, that delete files/directories by using
> > the "paper basket".
> >
> > "paper basket" is the English translation of the German name, but is
> > this really the correct English name? How is this thing called under
> > Windows, and how under Linux?
>
> It sounds like you're talking about the 'Recycle Bin'. As for the relavent
> API, I wouldn't know about that. :(
>
> > With the correct name, maybe I can find the proper Windows API-function.
> > Or can anyone please tell me, how to do it? Under windows, the "paper
> > basket" is a special directory. Maybe I just have to move the files to
> > this directory?
>
> I think there's something else Windows does other than moving a file to
one
> of the hidden recycler folders on your machine. There's some kind of
> Registry change and/or an alteration to a hidden config file within the
> Recycle Bin folder(s).
>
> Note that for every hard disk partition on your machine, there's a hidden
> folder called 'Recycled' or 'Recycler', and files deleted from a
particular
> partition go to that particular Recycler. Windows blurs the fact that the
> nearly-deleted files can be in different folders on the disk by listing
them
> all together in the Recycle Bin.
>
> There's also an added complication that the Windows NT based OSs use a
> different method to Windows 9x for handling the deleted files and separate
> 'Recycler' folders.
>
> > Can a DOS program, that is running under Windows 95+, also use the
> > "paper basket"?
>
> If you make a console app for use with 'exw' you should have access to the
> internals of Windows at an API level, but if you're using plain old 'ex'
> you'll probably have to manually code all of the things a Windows API
would
> do.
>
> ** Under Linux, it all depends heavily on what X Window Manager you use,
> and/or the File Manager you use within that. IIRC Gnome, KDE and
OpenWindows
> all use different places to put their Recyclers.
>
> > Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].
>
> Any relation to 1-800-314-1592 ext. 6536? (They sell pie. Yum.)
>
> HTH,
> Carl
>
>
>
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu