Delete file history and recent files command

Features wanted...
Post Reply
alan65
Posts: 22
Joined: 15 Nov 2019 19:52

Delete file history and recent files command

Post by alan65 »

I would like a command (with icon) that will delete the file history and list of recently accessed files. I found a way to do it by directly editing the xyplorer.ini file, but I think it's a feature that should be built-in.

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: Delete file history and recent files command

Post by klownboy »

These short scripts can be used anywhere like in the Address bar or on a Customized Toolbar Button, Catalog, etc.

Delete History sendkeys '%n{Enter}%c{Enter}'; #618;
Delete Recent Files sendkeys '%n{Enter}%c{Enter}'; #632;
Delete Recent Locations sendkeys '%n{Enter}%c{Enter}'; #631;

You can also use List Management under the Tools Menu to delete these lists or take a look at List Management House Cleaning script viewtopic.php?f=7&t=13948
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

alan65
Posts: 22
Joined: 15 Nov 2019 19:52

Re: Delete file history and recent files command

Post by alan65 »

klownboy,
Thanks for you suggestions. They are VERY helpful. I'm still new to XYplorer and am still learning how to make customizations of this type.

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: Delete file history and recent files command

Post by klownboy »

Thank you. You can actually combine all three of those into one script to clean all of them at once in user defined command or a CTB. It's a bit of a hacky way of automating the process (i.e., sendkeys is undocumented script command), but it works. The screen will flicker as sendkeys does its work.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

Post Reply