Silent Delete Option / Command

Features wanted...
Post Reply
eurytos
Posts: 200
Joined: 29 Jan 2008 15:53

Silent Delete Option / Command

Post by eurytos »

I prefer to keep the delete notifications on but for the purpose of scripting and some UDC's I would like to be able to either:

a) toggle the delete confirmation on/off from within a script so I can turn it off, issue a set of deletions, and re-enable it.

b) a special delete command that does not issue a confirmation.

If possible I would like to have the same type of command for overwriting files.


I looked around and I couldn't find either of these. Hopefully I didn't pass it up someplace.

Thanks!

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

No, I don't think there's such a command already, but it could indeed be useful...
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66300
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Yes, I put it on the list for 7.20.

eurytos
Posts: 200
Joined: 29 Jan 2008 15:53

Post by eurytos »

admin wrote:Yes, I put it on the list for 7.20.
Thanks!

eurytos
Posts: 200
Joined: 29 Jan 2008 15:53

Post by eurytos »

Follow up to this since it is related.

But, I would also like to create folders from my scripts without being prompted.

If I issue the command:
copyto "C:\Program Files\XYplorer\appdata\TempImages\Archive\<curext>\<dmmddyy>";

the first time I run it every day or with a different file type I will be prompted to create the folder. While it isn't a big deal for this example I can think of some more instances where I would be preferred to not be prompted.

Thanks!!

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Yeah, I agree. Although on some scripts I like to be prompted before folder creation, on others (like some backups) I wish I could do without... a new parameter might be a good idea here.

Also, if the command new could support multiple folders creation in one go (or even better, same stuff as New Path, only without the going there part) it'd be nice.
Proud XYplorer Fanatic

Post Reply