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!
Silent Delete Option / Command
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
eurytos
- Posts: 200
- Joined: 29 Jan 2008 15:53
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!!
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:
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.
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
XYplorer Beta Club