How to determine which directory contains the current Live Set?

Tom Swirly's icon

Hello, Maxies! (maxers?)

I need to read and write files in the same directory as the current Live Set - how can I determine what that directory might be?

In Max 6, some experiments showed me that the current working directory for M4L patches is the Max 6 installation directory, which isn't what I need.

Thanks in advance!