Reliable labels and comments

@Jon Let me explain. Here are our files and directories:

|-- Dir1\
|   |-- Foo.txt
|
|-- Dir2\
    |-- <empty>

XYplorer

Example 1: You have assigned a label to the Foo.txt. Then:

  • you can move this file (from Dir1 to Dir2)
  • you can rename it (from Foo.txt to Bar.txt)
  • you can rename its directory (from Dir1 to Directory1)

Under all these circumstances the label will be preserved. The label is assigned to the path, but as long as you move/rename/copy/delete your files/directories within XY, this path will be automatically updated. Actually, XY labels database (tag.dat) is a plain text and here is how it looks:

Labels:
Red||FC7268;Orange||F6AB46;Yellow||EFDC4A;Green||B5D74A;Blue||5DA4FE;Purple||E29CDC;Grey||B5B5B5

Data:
C:\Test\Dir1\Foo.txt|4||||||||||||||||||

4 stands for green.

Then, if you move this file to Dir2, the record will be updated:

Data:
C:\Test\Dir2\Foo.txt|4||||||||||||||||||

(Tech note: tag.dat itself will not be updated unless you quit XY. So, it is necessary to quit to see the changes in the database. Unless you quit, the changes are stored in RAM. This behavior is by default, but it could be easily changed.)

So, it works very similar to the color labels in Finder. Poor man's Finder.

Directory Opus

Unlike XY, the paths in DO database doesn't have such automatic updates.

Example 2: You have assigned a label to the Foo.txt. Then,

  • if you move this file (from Dir1 to Dir2)
  • if you rename it (from Foo.txt to Bar.txt)
  • if you rename its directory (from Dir1 to Directory1)

...the label will be lost. (Strictly speaking, it is not lost, because it is not removed from the database, but it lose its visual association with the file it was assigned to. I call it "lost" just for short.)