get default tag.dat path regardless of tagload()ing

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

get default tag.dat path regardless of tagload()ing

Post by bdeshi »

My XYplorer neurons might be a little rusty; is there any convenient way to find the default tag database file without actually having to reload it with

Code: Select all

/*::echo*/ tagload("")
?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66691
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: get default tag.dat path regardless of tagload()ing

Post by admin »

No way.

But the default DB is usually "<xydata>\tag.dat" unless another DB is specified in Admin.ini.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: get default tag.dat path regardless of tagload()ing

Post by bdeshi »

hmm. No way around parsing ini? Maybe you could have a <xytagdatdef> to point to default db, but that sounds like asking too much even to my own ears.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66691
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: get default tag.dat path regardless of tagload()ing

Post by admin »

SammaySarkar wrote:Maybe you could have a <xytagdatdef> to point to default db...
I had the same thought so I guess it's okay. :)

Post Reply