scritp to remove invalid favorite links

Discuss and share scripts and script files...
Post Reply
kotlmg
Posts: 321
Joined: 30 Jun 2010 17:14

scritp to remove invalid favorite links

Post by kotlmg »

hello all, i need a small script to remove the invalid favorite links?
is it possible? i don't want to go and manually delete all the invalid links.

thanks a lot in advance.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: scritp to remove invalid favorite links

Post by j_c_hallgren »

kotlmg wrote:invalid favorite links?
Not 100% sure what you mean by "favorite links" as I've seen that term used for various purposes...can you clarify?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

kotlmg
Posts: 321
Joined: 30 Jun 2010 17:14

Re: scritp to remove invalid favorite links

Post by kotlmg »

in xyplorer, we can make some folders as favorite by pressing control and b buttons together. now if i delete these favorite folders/change the name of folders physically, invalid favorite links still exist in the favorites folder list. i want to remove them using script.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: scritp to remove invalid favorite links

Post by j_c_hallgren »

Do you have so many of them that removing them via "List management" dialogs where they appear with special icons isn't practical? Just wondering why a script is needed...not saying it's not worthwhile, but sometimes folks have asked for scripts that can be done almost as easily manually...plus you run the risk of deleting favorites that are still valid but only for removable devices when mounted if using a script.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: scritp to remove invalid favorite links

Post by highend »

Apart from that, you can just open the XYplorer.ini file, go to the [Favorites] section and delete all entries you don't need. Change the Count value afterwards.
One of my scripts helped you out? Please donate via Paypal

kotlmg
Posts: 321
Joined: 30 Jun 2010 17:14

Re: scritp to remove invalid favorite links

Post by kotlmg »

editing xyplorer.ini file has helpmed me a lot. thanks for your guidance.

Post Reply