Page 1 of 1

Lost tags after creating a new taglist()

Posted: 04 Jun 2020 07:56
by kkonstantinidis
Hi, so far I have been adding tags to my files using the dedicated green button "Add tags" and creating a new tag by clicking "Add Tags..." or using an existing one by clicking it on the same dropdown list (I'm assuming it's an MRU list since it showed only my most recently created tags). Today, I saw this topic viewtopic.php?t=16562 on how to create clouds of tags (I have a lot of them so I want to organize them a little bit). So I executed the script

Code: Select all

taglist("myNewTags")
and while it created a new tag list (which I am not sure how it works but that's OK for now) it completely removed all my previous tags from the dropdown list. Even at "Tools" -> "List Management" -> "Tag List..." it will just show "myNewTags".

I can see that the tags are still on the files at the column "Tags" and on tag.dat. Is there any way to retrieve my tags at the toolbar? Since I know the folders where I have tagged file a command that will print the list of tags used in a folder will also solve my problem since I can then manually re-add them.

If it helps, I have a backup of the application folder "C:\Users\Kostas\AppData\Roaming\XYplorer" before running the above command.

Re: Lost tags after creating a new taglist()

Posted: 04 Jun 2020 08:34
by highend
Just restore your backup XYplorer.ini file while XY is not running

The taglist is stored in TagsList= in the [Settings] section...

Re: Lost tags after creating a new taglist()

Posted: 04 Jun 2020 09:17
by kkonstantinidis
Got it! Thanks for your script on that post, it works nice for me.