SC delete and prompts

Features wanted...
Post Reply
autocart
Posts: 1248
Joined: 26 Sep 2013 15:22

SC delete and prompts

Post by autocart »

Code: Select all

delete 0, 0, $itemlist
This still promps whether items with overlong file names should be deleted permanently "instead" of moving them to the recycle bin or not be deleted after all.
1) This makes no sense at all since I already stated in parameter 1 (which is 0) that I want to skip the recycle bin.
2) Even if I had the first paramter set to 1 (move to bin) but the second parameter still set to 0 (no confirmation prompt) then I would still NOT want ANY prompt. People who set it to 0 should know what they chose.
THX!!

autocart
Posts: 1248
Joined: 26 Sep 2013 15:22

Re: SC delete and prompts

Post by autocart »

everybody else expects and/or likes this behavior??

RalphM
Posts: 1935
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: SC delete and prompts

Post by RalphM »

I agree with you on 1) but not 2) if the bin doesn't handle overlong filenames and despite your parameter to use the bin a file would get permanently deleted.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

fishgod
Posts: 227
Joined: 03 Feb 2008 00:40
Location: Sankt Augustin (near Bonn), Germany

Re: SC delete and prompts

Post by fishgod »

I also ran into this.

A delete 0, 0, $itemlist; show the attached dialog.

a) the message could simply be dropped when the delete originates from a script that explicitly set recycle=0 and
b) the message is slightly wrong, it sayes "Overlong Filenames" but the Filename itself is not overlong, it's the path that is overlong :P
Attachments
delete-overlong-path.png
delete-overlong-path.png (6.4 KiB) Viewed 713 times
Operating System: Win10 x64 / Win11 x64 / almost allways newest XY-beta
totally XYscripting-addicted

Post Reply