Silently delete to recycle bin but warn if deleting on a network drive
Posted: 16 Sep 2017 15:07
Hi guys,
does someone know how to script a sophisticated recycle bin behaviour for the scenario given below?
In case I delete something to the recycle bin, I would be able to recover it from there.
This is like in real life when I scrap a piece of paper in the dust bin.
In this case I do not want a delete confirmation
On the other hand there is no recycle bin when I delete something from a network share.
In this case I do want a confirmation request because there is no recovery option afterwards.
This is like burning a document which makes me think more thoroughly before I do it.
With the sophisticated behaviour I always know that I must pay attention if a confirmation dialog appears.
This prevents to get trained to click OK by habit.
does someone know how to script a sophisticated recycle bin behaviour for the scenario given below?
In case I delete something to the recycle bin, I would be able to recover it from there.
This is like in real life when I scrap a piece of paper in the dust bin.
In this case I do not want a delete confirmation
On the other hand there is no recycle bin when I delete something from a network share.
In this case I do want a confirmation request because there is no recovery option afterwards.
This is like burning a document which makes me think more thoroughly before I do it.
With the sophisticated behaviour I always know that I must pay attention if a confirmation dialog appears.
This prevents to get trained to click OK by habit.