You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran a powershell command in a terminal that looped over many files, processing each to create a new file and then deleting the original file with Remove-ItemSafely. I minimized the terminal and did other things while the command ran. I noticed multiple times that if I happened to be holding shift while the Remove-ItemSafely call happened, the command would halt there and Windows would pop open a modal asking if I wanted to instead permanently delete the file. This would either interrupt my typing, or sometimes the modal would appear in the background and I wouldn't notice it until later, leaving my script halted until I addressed the modal.
The text was updated successfully, but these errors were encountered:
Macil
changed the title
Remove-ItemSafely asks if you want to permanently delete a file if you hold shift
Remove-ItemSafely halts and asks if you want to permanently delete a file if you're holding shift
Nov 11, 2022
I ran a powershell command in a terminal that looped over many files, processing each to create a new file and then deleting the original file with Remove-ItemSafely. I minimized the terminal and did other things while the command ran. I noticed multiple times that if I happened to be holding shift while the Remove-ItemSafely call happened, the command would halt there and Windows would pop open a modal asking if I wanted to instead permanently delete the file. This would either interrupt my typing, or sometimes the modal would appear in the background and I wouldn't notice it until later, leaving my script halted until I addressed the modal.
The text was updated successfully, but these errors were encountered: