Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove-ItemSafely on some computers asks confirmation #23

Open
CasperNLD opened this issue Mar 6, 2023 · 4 comments
Open

Remove-ItemSafely on some computers asks confirmation #23

CasperNLD opened this issue Mar 6, 2023 · 4 comments

Comments

@CasperNLD
Copy link

Hi,

I have a question regarding 'recycle' 1.5.0.
In this version I noticed that my script does not give me a 'are you sure to send to recycle bin' dialog, but my colleague does.
I do not use the '-conform' option, but still my colleague gets a dialog.

Why is this happening in 1.5.0?

@bdukes
Copy link
Owner

bdukes commented Mar 6, 2023

It's doing the same thing as pressing del in File Explorer, so it depends on your settings as to whether it shows a confirmation or not.

@CasperNLD
Copy link
Author

Is it possible as a new feature to omit the users settings, perhaps creating of keeping your own setting during the session?
Or is this beyond the scope of 'Recycle'?

@bdukes
Copy link
Owner

bdukes commented Mar 6, 2023

I am open to an alternative implementation of the Recycle module which allows more customization.

@CasperNLD
Copy link
Author

My script processes directories with a fairly amount of files (range 100 to 600), so that would somewhat put a damper on my effort to automate some work. Perhaps a way to set/reset this user setting with powershell?

Unfortunately my knowledge is not sufficient (yet) to suggest an alternative implementation.
I have to get back to you on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants