Git Product home page Git Product logo

recycler's Introduction

Recycler

Creates and configures windows recycle bins on virtual and network drives.

Is is based on the discussion in the Microsoft Forum

screenshot

It is a standalone and portable applications and can be used without installing it. The minimal requirements are .NET 4.5 and Windows 7 or better.

If you like this project consider donating:

  • via Paypal PayPayl donate button

Limitations

So this tool is based upon a well known hack. It is unlikely, but it may break with any windows update.

The following limitations are inherrent to windows and can not be changed:

  • Each drive and user has his own separate recycle bin.
  • Deleted files are not moved across drives, data always stays on the same drive.
  • You need adminstrator right to activate and deactivate a recycle bin.
  • The configuration is persistent and system wide. In order to activate or deactivate a recycle bin you have to reboot. The changes are only applied at startup.

Recycle Bins

Windows defines two types of recycle bins, one for volumes (partitions on harddrives) and one for knownfolder (any valid path).

Both have a slightly differnt behaviour.

Volumes

Recycle bins for volumes are identified by their per volume id. Typically they are partitons on a harddrive. The volume id is unique to a computer and created at the time when the device was discovered for the first time. This id never changes and may be bound to a path or driveletter.

Virtual and network drives are no volumes, they can not have a volume id.

Windows activates by default a recycle bin for new volumes.

Known folders

Known folders are somehow magical and confusing. Any valid path can be defined to be a known folder. Whenever windows stumbles upon such a folder it applies some magic. They can be used to activate a recycle bin on a network drive or virtural drive.

But be warned the known folder configuration is per computer applies to all users and it is persistent.

So consider the following example: You mounted a directory to the virtual s:\ drive . Then activate the recycle bin for the virtual s:\ drive . After some time you unmount the virtual s:\ drive and map a network share to the virtual s:\ drive.

You will endup having a recycle bin on the s:\ drive. Because the configuration is persistent to the s:\ path.

Bugs

Please report bugs via the issue tracker or send an email to schmid-thomas at gmx.net .

License

The extension is free and open source software, it is made available to you under the terms of the MIT License.

recycler's People

Contributors

thsmi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

recycler's Issues

Doesn't work ?

It doesn't detect current settings. All recycle bins are shown as disabled:
image

In Explorer:
image

And when I set "Use Recycle Bin", fill "Max Size" and move to the next drive, it reverts back to disabled.

Also,

  1. It offers to create recycle bin on CD/DVD drives
  2. It incorrectly shows attached VHD as physical drive
  3. It doesn't show volumes without letters, that actually have recycle bin. It's inconsistent. If this is a tool for managing recycle bin on physical drives, then all should be shown, regardless with letter or without. And if for virtual or subst drives only then only them should be listed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.